ACR3901T-W1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 21 of 100
6.1.5.3.
Get Card Presence
This checks the presence of the inserted card.
Command Format
Response Data Format
Offset
Field
Size
Value
Description
0
bMessageType
1
14h
-
1
LEN1 LEN2 (wLength)
2
0200h
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
STA
1
-
Card Status:
00 = Unknown status
01 = No card present
02 = Card present but inactive
03 = Card present and active
4
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
94h
-
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 =
65
01 00 64
Response =
14
02 00 03 15
Offset
Field
Size
Value
Description
0
bMessageType
1
65h
-
1
LEN1 LEN2 (wLength)
2
0100h
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
CSUM (wChecksum)
1
64h
CSUM means the XOR values of all
bytes in the command