ACR122L – Communication Protocol
Version 1.03
www.acs.com.hk
Page 15 of 57
ACR122L Response Frame Format
For SAM Interface 1, STX = 02h and ETX = 03
For SAM Interface 2, STX = 12h and ETX = 13h
For SAM Interface 3, STX = 22h and ETX = 23h
RDR_to_HOST_DataBlock Format
Offset
Field
Size
Value
Description
0
bMessageType
1
80h
Indicates that a data block is
being sent from the ACR122L.
1
dwLength
<LSB .. MSB>
4
N
Size of
abData
field (N Bytes).
5
bSlot
1
Same as Bulk-OUT Identifies the slot number for
this command.
6
bSeq
1
Same as Bulk-OUT Sequence number for
corresponding command.
7
bStatus
1
8
bError
1
9
bChainParameter
1
Example 1:
To send an APDU “80 84 00 00 08” to the
SAM Interface 1
slot 0 (default), sequence
number = 3.
HOST ->
02
6F 05 00 00 00 00 03 00 00 00 80 84 00 00 08 [Checksum]
03
RDR ->
02
00 00
03
RDR ->
02
80 0A 00 00 00 00 03 00 00 00 E3 51 B0 FC 88 AA 2D 18 90 00 [Checksum]
03
Response = E3 51 B0 FC 88 AA 2D 18; SW1 SW2 = 90 00
Example 2:
To send an APDU “80 84 00 00 08” to the
SAM Interface 2
slot 0 (default), sequence
number = 3.
HOST ->
12
6F 05 00 00 00 00 03 00 00 00 80 84 00 00 08 [Checksum]
13
RDR ->
12
00 00
13
RDR ->
12
80 0A 00 00 00 00 03 00 00 00 E3 51 B0 FC 88 AA 2D 18 90 00 [Checksum]
13
Response = E3 51 B0 FC 88 AA 2D 18; SW1 SW2 = 90 00
STX
Bulk-IN Header
(RDR_to_HOST_DataBlock)
abData
Checksum
ETX
1 Byte
10 Bytes
N Bytes
(ATR)
1 Byte
1 Byte