Reference Manual
Prox–DU & Prox–SU
www.gemalto.com
DOC118569D Public Use Page 47/145
ATR for contactless smart cards
The Answer To Request (ATR) returned by an ISO14443-A or ISO14443-B smart card is
compliant with the PC/SC V2.0 Part 3 Revision 2.01.09 specifications.
The ATR is as follows:
Byte
Number
Value Designation Description
0 3Bh
Initial
header
1 8Nh T0
Higher nibble 8 means no TA1, TB1, TC1
only TD1 is following.
• Lower nibble N is the number of historical
bytes (HistByte 0 to HistByte N-1).
2 80h TD1
Higher nibble 8 means no TA2, TB2, TC2
only TD2 is following.
• Lower nibble 0 means T = 0.
3 01h TD2
Higher nibble 0 means no TA3, TB3, TC3,
TD3 following.
• Lower nibble 1 means T = 1.
4 to 3+N
XX
XX
XX
T1
…
..
Tk
Historical bytes:
• ISO14443A:
The historical bytes from ATS response.
Refer to the ISO14443-4 specification
• ISO14443B:
Byte 1-4: Application Data from ATQB
Byte 5-7: Protocol Info Byte from ATQB
Byte 8: Higher nibble = MBLI from ATTRIB
command. Lower nibble (RFU) = 0
Refer to the ISO14443-3 specification
4 + N UU TCK Exclusive-OR of bytes T0 to Tk
Table 14 – ATR for contactless Smart cards
The contactless smart card exposes its ATS or information bytes not directly, but via a
specific ATR mapping. For those cards that provide such information, optionally with
Historical Bytes (or Application Information respectively), the mapping in the table above
applies.
• The ATR returned by a DESFire smart card is:
3Bh 8Fh 80h 01h 80h 80h 65h B0h 07h 02h 02h 89h 83h 00h 90h 00h 00h 00h 00h
46h
With:
n = Fh (15 historical bytes)
Historical bytes from the ATS response = 80h 80h 65h B0h 07h 02h 02h 89h 83h
00h 90h 00h 00h 00h 00h