User manual
Copyright © 2011, Unitech America Inc. All rights reserved.
Page 49 of 61
MS246 User Manual
<ACK><STX><83h><02h><Current Reader Status><Pre-conditon><ETX><LRC>
(success)
<NAK> (fail)
Current Reader Status: 2 bytes of data with one byte of <Reader State> and one byte
of <Pre-Condition>
Reader State – indicates the current state of the reader as follows:
0x00: The reader is waiting for Activate Authentication Mode Command. The
command must be sent before the card can be read.
0x01: The authentication request has been sent, the reader is waiting for the
Activation Challenge Reply Command.
0x02: The reader is waiting for a card swipe.
Pre-condition – specifies how the reader goes to its current state as follows:
0x00: The reader has no card swipes and has not been authenticated since it was
powered up.
0x01: Authentication Mode was activated successfully. The reader processed a
valid Activation Challenge Reply command.
0x02: The reader receives a good card swipe.
0x03: The reader receives a bad card swipe or the card is invalid.
0x04: Authentication Activation Failed.
0x05: Authentication Deactivation Failed.
0x06: Authentication Activation Timed Out. The Host fails to send an Activation
Challenge Reply command within the time specified in the Activate
Authentication Mode command.
0x07: Swipe Timed Out. The user fails to swipe a card within the time specified
in the Activation Challenge Reply command.