MagTek MagneSafe V5 User Manual

Page 77

Advertising
background image

Section 2. Communications

69

Data Structure:

Request Data: None

Response Data:

The first byte specifies the current state as follows:

Current Reader State

Value

Name

Meaning

0x00

WaitActAuth

Waiting for Activate Authenticated Mode. The reader requires Authentication
before swipes are accepted.

0x01

WaitActRply

Waiting for Activation Challenge Reply. Activation has been started, the
reader is waiting for the Activation Challenge Reply command.

0x02

WaitSwipe

Waiting for Swipe. The reader is waiting for the user to Swipe a card.

0x03

WaitDelay

Waiting for Anti-Hacking Timer. Two or more previous attempts to
Authenticate failed, the reader is waiting for the Anti-Hacking timer to expire
before it accepts further Activate Authenticated Mode commands.


The second byte specifies how the reader goes to its current state as follows:

Current State Antecedent

Value

Name

Meaning

0x00

PU

Just Powered Up. The reader has had no swipes and has not been
Authenticated since it was powered up.

0x01

GoodAuth

Authentication Activation Successful. The reader processed a valid Activation
Challenge Reply command.

0x02

GoodSwipe

Good Swipe. The user swiped a valid card correctly.

0x03

BadSwipe

Bad Swipe. The user swiped a card incorrectly or the card is not valid.

0x04

FailAuth

Authentication Activation Failed. The most recent Activation Challenge Reply
command failed.

0x05

FailDeact

Authentication Deactivation Failed. A recent Deactivate Authenticated Mode
command failed.

0x06

TOAuth

Authentication Activation Timed Out. The Host failed to send an Activation
Challenge Reply command in the time period specified in the Activate
Authentication Mode command.

0x07

TOSwipe

Swipe Timed Out. The user failed to swipe a card in the time period specified
in the Activation Challenge Reply command.

0x08

KeySyncError

The keys between the MagneSafe processor and the Encrypting IntelliHead
are not the same and must be re-loaded before correct operation can resume.


Result codes:

0x00 Success


Example Get Reader State Request (Hex):

Cmd Num

Data Len

Data

1A

00


Example Get Reader State Response (Hex):

Result Code Data Len

Data

00

02

00 00

Advertising