ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 56 of 96
5.2.3.
ATR Format for ISO 14443 Part 4 PICCs
Byte
Value (Hex)
Designation
Description
0
3B
Initial Header
-
1
8N
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
80
TD1
Higher nibble 8 means: no TA2, TB2, TC2 only
TD2 is following.
Lower nibble 0 means T = 0
3
01
TD2
Higher nibble 0 means no TA3, TB3, TC3, TD3
following.
Lower nibble 1 means T = 1
4 to
3 + N
XX
T1
Historical Bytes:
ISO 14443A:
The historical bytes from ATS response. Refer
to the ISO 14443-4 specification.
ISO 14443B:
Byte1-4
Byte5-7
Byte8
Application
Data from
ATQB
Protocol Info
Byte from
ATQB
Higher
nibble=MBLI
from ATTRIB
command
Lower nibble
(RFU)=0
XX
XX
XX
Tk
4+N
UU
TCK
Exclusive-oring of all the bytes T0 to Tk
Table 6
: ISO 14443 Part 4 ATR Format
Example 1
: Consider the ATR from MIFARE DESFire as follows:
DESFire (ATR) = 3B 81 80 01 80 80h (6 bytes of ATR)
Note: Use the APDU “FF CA 01 00 00h” to distinguish the ISO 14443A-4 and ISO 14443B-4 PICCs
and retrieve the full ATS if available. The ATS is returned for ISO 14443A-3 or ISO 14443B-3/4
PICCs.
APDU Command = FF CA 01 00 00h
APDU Response = 06 75 77 81 02 90 00h
ATS = {06 75 77 81 02 80h}
Example 2
: Consider the ATR from EZ-Link as follows:
EZ-Link (ATR) = 3B 88 80 01
1C 2D 94 11 F7 71 85 00
BEh
Application Data of ATQB =
1C 2D 94 11h
Protocol Information of ATQB =
F7 71 85h
MBLI of ATTRIB = 00h