Serial num property – MagTek USB INSERTION READER User Manual

Page 29

Advertising
background image

Section 4. USB Communications (HID)

21

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

01

32 31 30 34 32 38 31 37 43 30 31


SERIAL NUM PROPERTY

Property ID:

1

Property Type:

String

Length:

0 – 15 bytes

Get Property:

Yes

Set Property:

Yes

Default Value:

The default value is no string with a length of zero.

Description:

The value is an ASCII string that represents the device’s serial number.
This string can be 0 – 15 bytes long. This property is stored in non-
volatile EEPROM memory so it will not change when the unit is power
cycled. The value of this property, if any, will be sent to the host when the
host requests the USB string descriptor. When this property is changed,
the unit must be power cycled to have these changes take effect for the
USB descriptor. If a value other than the default value is desired, it can be
set by the factory upon request.


Example Set Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

04

01

31 32 33


Example Set Serial Num property Response (Hex):

Result Code Data Len

Data

00

00


Example Get Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

01


Example Get Serial Num property Response (Hex):

Result Code Data Len

Prp Value

00

03

31 32 33

Advertising