ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 57 of 96
5.2.4.
Pseudo APDUs for Contactless Interface
5.2.4.1.
Get data
This command returns the serial number or ATS of the “connected PICC.”
Command
Command
Class
INS
P1
P2
Le
Get Data
FFh
CAh
00h
01h
00h
00h
(Full Length)
Get UID Response if P1 = 00h
Response
UID
…
…
UID
SW1
SW2
Result
LSB
MSB
Get ATS Response if P1 = 01h (for ISO 14443-A cards only)
Response
Data Out
Result
ATS
SW1
SW2
Response Code
Results
SW1 SW2
Meaning
Success
90 00h
The operation is completed successfully.
Warning
62 82h
End of UID/ATS reached before Le bytes (Le is greater than
UID Length).
Error
6C XX
Wrong length (wrong number Le: ‘XX’ encodes the exact
number) if Le is less than the available UID length.
Error
63 00h
The operation failed.
Error
6A 81h
Function not supported
Example 1
: To get the serial number of the connected PICC:
UINT8 GET_UID[5] = {FF CA 00 00 00h};
Example 2
: To get the ATS of the connected ISO 14443-A PICC:
UINT8 GET_ATS[5] = {FF CA 01 00 00h};