User's Manual
ACR122L-ACS Design Specification
Version 0.03 19/05/2010
Page
16
of
50
ACR122L
-
ACS
ACR122L Response Frame Format
STX Bulk-IN Header
(RDR_to_HOST_DataBlock)
abData Checksum
ETX
1 Byte 10 Bytes N Bytes
(ATR)
1 Byte 1 Byte
For SAM Interface 1, STX = 0x02 and ETX = 0x03
For SAM Interface 2, STX = 0x12 and ETX = 0x13
For SAM Interface 3, STX = 0x22 and ETX = 0x23
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
Example1. 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
Example2. 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