Search code examples
smartcardapduemv

Select by AID command is not working


I want to re-develop new desktop application to read information from EMV smart card and I have logs from previous (working) application.

Assume, there is an app with AID = 44 44 44 44 44 44 44 44 (DDDDDDDD) in the EMV smart card.

I am sending APDU command: 00 A4 04 00 08 44 44 44 44 44 44 44 44 00 and getting timeout exception (timeout = 60s).

I tried to send APDU command: 00 A4 04 00 08 44 44 44 44 44 44 44 44 and got response code = 61 37.

I tried to select file 1PAY.SYS.DDF01, immediately got response = 6a82 (it is right).


Solution

  • I changed library from RXTXserial to JSSC and it solved my problem. Now I get responses without GET RESPONSE request. Thank you guys.