ACR3901T-W1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 25 of 100
Response Data Format (Error)
Offset
Field
Size
Value
Description
0
bMessageType
1
97h
-
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:
Sends 600 bytes data to the card
1. Command = 67 07 01
01
( 261 bytes data ) checksum
Response = 17 02 00
10
checksum
2. Command = 67 07 01
03
( 261 bytes data ) checksum
Response = 17 02 00
10
checksum
3. Command = 67 50 00
02
( 78 bytes data ) checksum
Response = 17 04 00
00
90 00 checksum
Receives 600 bytes data from the card
1. Command = 67 09 00
00
00 B0 87 00 00 02 58 checksum
Response = 17 02 01
01
( 256 bytes data ) checksum
2. Command = 67 02 00
10
checksum
Response = 17 02 01
03
( 256 bytes data ) checksum
3. Command = 67 02 00
10
checksum
Response = 17 5C 00
02
( 88 bytes data ) 90 00 checksum