User manual
SCM3712 REFERENCE MANUAL 32
6.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
Nibble0means T=0
3
0x01
TD2
Nibble8 indicates no TA3, TB3, TC3
Nibble1means T=1
4...3+n
0x80
A status indicator may be present in an
optional TLV data object
0x4F Optional TLV
data object
Tag: Application identifier
Length
1 byte
RID
Registered identifier on 5bytes
PIX
Proprietary identifier extension on 3bytes
0x00 0x000x000x00 4 RFU bytes
4+n
0x91
TCK
XOR of all previous bytes
Example of the ATR built for a MIFARE Classic 4K card: