ACR3901T-W1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 22 of 100
6.1.5.4.
APDU Command
This command sends an APDU command to the reader.
Command Format
Offset
Field
Size
Value
Description
0
bMessageType
1
6Fh
-
1
LEN1 LEN2 (wLength)
2
-
Number of extra bytes starting from
the next field for this message, and is
expressed in two bytes long, and
LEN1 is LSB while LEN2 is MSB
3
APDU CMD
N
-
APDU Command
3+N
CSUM (wChecksum)
1
-
CSUM means the XOR values of all
bytes in the command
Response Data Format
Offset
Field
Size
Value
Description
0
bMessageType
1
11h
-
1
LEN1 LEN2 (wLength)
2
-
Number of extra bytes starting from
the next field for this message, and is
expressed in two bytes long, and
LEN1 is LSB while LEN2 is MSB
3
APDU Response
N
-
APDU Format Data
3+N
CSUM (wChecksum)
1
-
CSUM means the XOR values of all
bytes in the command
Response Data Format (Error)
Offset
Field
Size
Value
Description
0
bMessageType
1
91h
-
1
LEN1 LEN2 (wLength)
2
0200h
Number of extra bytes starting from
the next field for this message. It is
expressed in two bytes long. LEN1 is
LSB while LEN2 is MSB.
3
Error Code (bErrorCode)
1
-
Error Code. Refer to Appendix A
4
CSUM (wChecksum)
1
-
CSUM means the XOR values of all
bytes in the command
Example:
Request =
6F
06 00 80 84 00 00 08 65
Response =
11
0B 00 C1 7A 3B AA D6 5A FA CE 90 00 18