ACR122S – Communication Protocol
Version 2.01
www.acs.com.hk
Page 22 of 57
In which,
Direct Transmit APDU = “FF 00 00 00”
Length of the Tag Command = “08”
Tag Command (InDataExchange) = “D4 40 01”
Tag Command (Get Challenge) = “00 84 00 00 08”
To send an APDU to the slot 0 (default), sequence number = 5.
HOST -> 02 6F 0D 00 00 00 00 05 00 00 00
FF 00 00 00 08 D4 40 01 00 84 00 00 08
[Checksum] 03
RDR -> 02 00 00 03
RDR -> 02 81 0F 00 00 00 00 05 00 00 00
D5 41 00 01 02 03 04 05 06 07 08 90 00 90 00
[Checksum] 03
The APDU Response is “D5 41 00 0B 01 02 03 04 05 06 07 08 90 00”
In which,
Response returned by the contactless chip = “D5 41 00”
Response from the Type B Tag = “01 02 03 04 05 06 07 08 90 00”
Status Code returned by the reader = “90 00”
6.3. Get Firmware Version
This command is used to derive the firmware version of the reader.
Get Firmware Version Command Format (5 Bytes)
Command
Class INS
P1
P2
Le
Get Response
FFh
00h
48h
00h
00h
Where:
Le
Number of bytes to retrieve (1 Byte).
Maximum 255 bytes.
Get Firmware Version Response Format (10 Bytes)
Response
Data Out
Result
Firmware Version
Example:
Response = 41 43 52 31 32 32 53 31 30 30 (Hex) = ACR122S100 (ASCII)