ACR1255U-J1 – Reference Manual
Version V1.01
www.acs.com.hk
Page 40 of 73
6.3. Pseudo APDU for Contactless Interface
6.3.1.
Get Data
This command returns the serial number or ATS of the “connected PICC”.
Get UID APDU Format (5 bytes)
Command
Class
INS
P1
P2
Le
Get Data
FFh
CAh
00h 01h
00h
00h
(Max. Length)
If P1 = 00h,
Get UID Response Format (UID + 2 bytes)
Response
Data Out
Result
UID
(LSB)
…
…
UID
(MSB)
SW1
SW2
If P1 = 01h,
Get ATS of a ISO 14443 A card (ATS + 2 bytes)
Response
Data Out
Result
ATS
SW1
SW2
Response Codes
Results
SW1
SW2
Meaning
Success
90h
00h
The operation is completed successfully.
Warning
62h
82h
End of UID/ATS reached before Le bytes (Le
is greater than UID Length).
Error
6Ch
XX
h
Wrong length (wrong number Le: ‘
XX
’
encodes the exact number) if Le is less than
the available UID length.
Error
63h
00h
The operation is failed.
Error
6Ah
81h
Function not supported
Examples:
To get the serial number of the “connected PICC”:
UINT8 GET_UID[5] = {FF, CA, 00, 00, 00};
To get the ATS of the “connected ISO 14443 A PICC”:
UINT8 GET_ATS[5] = {FF, CA, 01, 00, 00};