Advanced Card Systems Limited ACR1281U Benutzerhandbuch

Seite von 79
ACR1281U 
 
 
 Advanced Card Systems Ltd. 
Page 27 of 81 
 
1.2 ATR format for ISO 14443 Part 4 PICCs.  
Byte 
 
Value 
(Hex) 
Designation 
Description 
3B 
Initial Header 
 
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)  
80 
TD1 
Higher nibble 8 means: no TA2, TB2, TC2 
only TD2 is following. 
Lower nibble 0 means T = 0 
01 
TD2 
Higher nibble 0 means no TA3, TB3, TC3, 
TD3 following. 
Lower nibble 1 means T = 1 
XX 
T1 
to 
3 + N 
XX 
XX 
XX 
Tk 
Historical Bytes: 
 
ISO14443A: 
The historical bytes from ATS response. Refer 
to the ISO14443-4 specification. 
 
ISO14443B: 
Byte1-4 
Byte5-7 
Byte8 
Application 
Data from 
ATQB 
Protocol Info 
Byte from 
ATQB 
Higher 
nibble=MBLI 
from 
ATTRIB 
command 
Lower nibble 
(RFU)=0 
 
4+N 
UU 
TCK 
Exclusive-oring of all the bytes T0 to Tk 
 
 
E.g 1. ATR for DESFire = { 3B 81 80 01 80 80 } // 6 bytes of ATR 
 
Hint: Use the APDU “FF CA 01 00 00” to distinguish the ISO14443A-4 and ISO14443B-4 PICCs, 
and retrieve the full ATS if available. ISO14443A-3 or ISO14443B-3/4 PICCs do have ATS 
returned
 
APDU Command = FF CA 01 00 00 
APDU Response = 06 75 77 81 02 80 90 00 
ATS = {
06 75 77 81 02 80
 
E.g 2. ATR for ez-link  = { 3B 88 80 01 
1C 2D 94 11 F7 71 85 00 
BE}  
 
Application Data of ATQB = 
1C 2D 94 11 
Protocol Information  of ATQB =
 F7 71 85 
MBLI  of ATTRIB = 
00