I am working on NFC enabled SIM, using ISO-7816-4. While I try to SELECT MF, DF or EF, response is always 6A 82( File not found). Following are the APDUs
00 A4 00 00 02 3F 00
-> To SELECT MF
00 A4 00 00 02 2F E2
-> To SELECT EF
00 A4 00 00 02 7F 20
-> To SELECT DF
Response is always the same, i.e., 6A 82. Am I missing something here? Kindly help.
The problem was not with APDUs, but with the value of SAK
. SAK
value was set to 0x28.
Which means NFC enabled SIM supports both;
However CPU level APDUs had more priority than Mifare sector because of which my NFC reader/writer was unable to communicate to Mifare 1k sector. Once the value of SAK
was changed to 0x08, it disabled CPU level APDUs and my NFC reader/writer was able to communicate with the Mifare 1k sector. Hope this helps.