Page 1 of 1

Get the data field of the response APDU as a string or integer

Posted: Tue Mar 15, 2016 5:26 am
by Qinotr06
Does anyone tell me how to extract the data field of the response APDU as a string or integer?

Re: Get the data field of the response APDU as a string or integer

Posted: Fri Mar 18, 2016 11:35 pm
by vermont

Code: Select all

ResponseAPDU response = channel.transmit(new CommandAPDU(myAPDUArray));
response.getData() // to get data
response.getSW() // to get the status word