ACR1255U-J1 – Reference Manual
Version V1.01
www.acs.com.hk
Page 37 of 73
6.2. Contactless Smart Card Protocol
6.2.1.
ATR Generation
If the reader detects a PICC, an ATR will be sent to the PCSC driver for identifying the PICC.
6.2.1.1.
ATR Format for ISO 14443 Part 3 PICCs
Byte
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
80h
T1
Category indicator byte, 80 means A status
indicator may be present in an optional
COMPACT-TLV data object.
4Fh
Tk
Application identifier Presence Indicator.
0Ch
Length
RID
Registered Application Provider Identifier (RID)
# A0 00 00 03 06
SS
Byte for standard.
C0 .. C1h
Bytes for card name.
00 00 00 00h
RFU
RFU # 00 00 00 00
4+N
UU
TCK
Exclusive-oring of all the bytes T0 to Tk
Example:
ATR for MIFARE Classic 1K = {3B 8F 80 01 80 4F 0C
A0 00 00 03 06
03
00 01 00 00 00 00 6Ah}
Where:
Length (YY)
= 0Ch
RID
=
A0 00 00 03 06h
(PC/SC Workgroup)
Standard (SS)
=
03
h (ISO 14443A, Part 3)
Card Name (C0 .. C1)
= [00 01h] (MIFARE Classic 1K)
Standard (SS)
= 03h: ISO 14443A, Part 3
= 11h: FeliCa