What APDU command gets card ID

前端 未结 5 1058
野性不改
野性不改 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:10

    0xCA is the GET DATA command. You must supply a TLV Tag in P1-P2.

    ISO 7816 part 6 "Interindustry data elements for interchange" has a list of these tags, but none of them corresponds unambiguously to "card ID". I suggest that you try all values of P2, with P1 equal to 0x00, 0x5F, or 0x7F, to find out which data elements are supported by your card.

提交回复
热议问题