Command list, Reset device command – MagTek MagneSafe V5 User Manual

Page 67

Advertising
background image

Section 2. Communications

59

Example Set Inter-Key Delay property Response (Hex):

Result Code Data Len

Data

00

00


Example Get Inter-Key Delay property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

53


Example Get Inter-Key Delay property Response (Hex):

Result Code Data Len

Data

00

01

0C


COMMAND LIST

The following commands are available for use with the readers.

Reset Device Command

Command number:

0x02

Description:

This command is used to reset the reader. This command can be used to
make previously changed properties take affect without having to unplug
and then plug in the reader. When the reader resets, it automatically does
a USB detach followed by an attach. After the host sends this command
to the reader it should close the USB port, wait a few seconds for the
operating system to handle the reader detach followed by the attach and
then re-open the USB port before trying to communicate further with the
reader.

When an Authentication sequence has failed, only a correctly MACed
(See Section 1, Security) Reset command can be used to Reset the reader.
This prevents a dictionary attack on the on the keys and minimizes a
denial of service attack.

Note

When the reader begins an Authentication Sequence, the Reset command will not
be honored until after the Authentication Sequence has successfully completed,
the user swipes a card, or the unit is power cycled.


Data structure:

No data is sent with this command

Result codes:

0x00 Success

0x01 Failure

0x07 Incorrect MAC – Command not authorized


Example Reset Device Request (Hex):

Cmd Num

Data Len

Data

02

00

Advertising