ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 24 of 57
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.
For SAM Interface 1 controller, STX = 02h and ETX = 03h
For SAM Interface 2 controller, STX = 12h and ETX = 13h
For SAM Interface 3 controller, STX = 22h and ETX = 23h
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.
For SAM Interface 1 controller, the feedback’s STX = 02h and ETX = 03h
For SAM Interface 2 controller, the feedback’s STX = 12h and ETX = 13h
For SAM Interface 3 controller, the feedback’s STX = 22h and ETX = 23h