Usb serial num property (usb) – MagTek MagneSafe V5 User Manual

Page 35

Advertising
background image

Section 2. Communications

27

to the host using a USB cable, as is the case when doing firmware updates,
this property will return the software ID of the wireless reader.


Example Get Software ID property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

00


Example Get Software ID property Response (Hex):

Result Code Data Len

Prp Value

00

0B

32 31 30 34 32 38 31 32 44 30 31


USB Serial Num Property (USB)

Property ID:

0x01

Property Type:

String

Length:

0 – 15 bytes

Get Property:

Yes

Set Property:

Yes

Default Value:

Packed hexadecimal device serial number set when the reader is configured.

Description:

The value is an ASCII string that represents the USB serial number. This
string can be 0 – 15 bytes long. The value of this property, if any, will be sent
to the host when the host requests the USB string descriptor.

This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect. This
reader must be unplugged for at least 30 seconds to properly power cycle it.


Example Set USB Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

04

01

31 32 33


Example Set USB Serial Num property Response (Hex):

Result Code Data Len

Data

00

00


Example Get USB Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

01


Example Get USB Serial Num property Response (Hex):

Result Code Data Len

Prp Value

00

03

31 32 33

Advertising