Power down command (wireless usb reader only) – MagTek MagneSafe V5 User Manual

Page 81

Advertising
background image

Section 2. Communications

73


Request Data: None

Response Data:

Offset Field Name

Description

0

Device Serial #

16 bytes, if DSN is shorter than 15 bytes, left justify
and fill with binary zeroes. At least one byte (usually
the last one) must contain binary zero.

16

Actual Encryption
Counter

This three byte field returns the current value of the
Encryption Counter.

Result codes: 0x00 Success

0x02 Invalid length


Example Get Encryption Counter Request (Hex):

Cmd Num

Data Len

Data

1C

00


Example Get Encryption Counter Response (Hex) - Encryption Counter is 2033:

Result Code Data Len

Data

00

13

54455354205345545550203030303100
0007F1


Power Down Command (Wireless USB Reader Only)

Command number:

0x28

Description:

This command is used to power down the magnetic stripe circuit. If the
reader is running on battery only (no USB cable attached), the entire
reader is powered down. The behavior of the reader is exactly the same as
if the user had pressed and held down the User Switch for three seconds to
turn it off.


Data structure:

Request Data: None
Response Data: None

Result codes:

0x00 Success


Example Power Down Request (Hex):

Cmd Num

Data Len

Data

28

00


Example Power Down Response (Hex):

Result Code Data Len

Data

00

00

Advertising