SCL3711
R
EFERENCE
M
ANUAL
23
5.3.3.2. ATR for type A memory user tokens
The ATR of the user token is composed as described in the table below. In order to allow the
application to identify the storage card properly, it’s Standard and Card name describing bytes
must be interpreted according to the Part 3 Supplemental Document, maintained by PC/SC.
Byte#
Value
Designation
Description
0
0x3B
Initial header
1
0x8n
T0
n indicates the number of historical bytes in
following ATR
2
0x80
TD1
Nibble8 indicates no TA2, TB2, TC2
Nibble 0 means T=0
3
0x01
TD2
Nibble8 indicates no TA3, TB3, TC3
Nibble 1 means T=1
0x80
A status indicator may be present in an
optional TLV data object
0x4F
Tag: Application identifier
Lentgh
1 byte
RID
Registered identifier on 5 bytes
4...3+n
PIX
Proprietary identifier extension on 3 bytes
0x00 0x00 0x00 0x00
Optional TLV
data object
4 RFU bytes
4+n
0x91
TCK
XOR of all previous bytes
Example of the ATR built for a MIFARE Classic 4K card: