how to send apdu command to my function
Posted: Fri Nov 20, 2015 7:51 am
I wanna pass the APDU command to the this function. But I do not know how to do this.
For example, the commands is as follows
CLA: 00
INS:80
P1: 00
P2:00
LC: 02
Data In : 1E06
Le: 0F
How can I write above instructions into bytes and send to the function I mentioned? I need to get 9000 as success response.
Code: Select all
ResponseAPDU respApdu = channel.transmit( new CommandAPDU(cmd));
For example, the commands is as follows
CLA: 00
INS:80
P1: 00
P2:00
LC: 02
Data In : 1E06
Le: 0F
How can I write above instructions into bytes and send to the function I mentioned? I need to get 9000 as success response.