Usb serial number property – MagTek IntelliStripe 320 99875168 User Manual

Page 80

Advertising
background image

IntelliStripe 320 Command Reference

74

USB SERIAL NUMBER PROPERTY

Property ID: 00 (Hex)

Property Type: String

Maximum Length: 32 (including terminating zero)

Power Up/Reset Value: 00 (Null string “”)

Get/Set/Save support: All

Description:

This property is the USB serial number. The USB serial number is reported to the host in the
USB serial number string descriptor during USB device enumeration. This serial number can be
used to distinguish one USB device from another in a system. For example, if two IntelliStripe
65 devices are connected to the same host using USB ports, the USB serial numbers can be used
to distinguish one device from the other as long as the serial numbers are not set to the same
value.

MagTek’s MCP USB driver uses the USB serial number, if present, as part of the device instance
name so that if multiple devices with the same model number are connected to the same system
they can be distinguished from one another. For example, if a device that has its USB product
set to “IntelliStripe 65” has no serial number its device instance name will be “IntelliStripe 65”.
If it has serial number “123”, its device instance name will be “IntelliStripe 65.123”. See the
host communications application’s USB product property for more information.

After setting the USB serial number to a new value, the serial number needs to be saved with the
save property command and then the device needs to be power cycled or reset before the new
serial number value is used as the USB serial number string descriptor. If MagTek’s MCP USB
driver is being used, it needs to be closed and then opened using the new device instance name
before communicating further.

Example Set Property Request:

Field MTYP

APPL

CMND

RC PTYP

PID

Byte 1

2 3 4 5 6

Value

(Hex)

00

08 01 00 02 00

Field PVAL
Byte

7 - 10

Value (Hex)

31 32 33 00 (“123”)

Example Set Property Response:

Field MTYP

APPL

CMND

RC

Byte 1

2 3 4

Value (Hex)

40

08

01

00

Advertising