Get Reader Status Command - ID Tech SecureMag User Manual

Encrypted magstrip reader
Hide thumbs Also See for SecureMag:
Table of Contents

Advertisement

The KSN is incremented every time the Authenticated Mode is exited by a timeout or card swipe.
When the Authenticated Mode is exited by the Deactivate Authenticated Mode command, the KSN
will increase when the increment flag is set to 0x01.
Command Structure
Host -> Device:
<STX><S><83h><08h><Deactivation Data><ETX><LRC>
Device -> Host:
<ACK> (success)
<NAK> (fail)
<Deactivation Data>: 8-bytes response to Challenge 2. It contains 7-bytes of Challenge 2 with
1-byte of Increment Flag, encrypted by the specified variant of current DUKPT Key

11.8. Get Reader Status Command

Command Structure
Host -> Device:
<STX><R><83h><ETX><LRC>
Device -> Host:
<ACK><STX><83h><02h><Current Reader Status><Pre-Condition><ETX><LRC>
(success)
<NAK> (fail)
Current Reader Status: 2-bytes data with1-byte of <Reader State> and 1-byte of <Pre-
Condition>
Reader State:
Indicates the current state of the reader.
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 is sent, and the reader is waiting for the Activation Challenge Reply
Command.
0x02:
The reader is waiting for a card swipe.
SecureMag Encrypted MagStrip Reader User Manual
Page | 52

Advertisement

Table of Contents
loading

Table of Contents