What APDU command gets card ID

前端 未结 5 1069
野性不改
野性不改 2020-12-16 21:31

What APDU command gets 7 byte of card ID? I use T=CL (ISO7816) pritocol with ISO14443 layer. On detect card I can see only 4 byte of card ID. I searched, that is APDU comman

5条回答
  •  盖世英雄少女心
    2020-12-16 22:14

    I tried :

    byte data[] = new byte[]{};
    CommandApdu((byte)0xA0, (byte)0xC0, (byte)0x00, (byte)0x00, data)
    

    I got SW1=(byte)0x9F SW2=(byte)0xXX 9FXX = "Command successfully executed; ‘xx’ bytes of data are available and can be

    requested using GET RESPONSE."

    Except 9F00 and 9F04 which means

    9F00=PIN blocked and Unblock Try Counter is 3

    9F04=PIN not succesfully verified, PIN blocked and Unblock Try Counter is 3

提交回复
热议问题