Section 9. host communications application, Get/set/save property commands, Usb serial number property – MagTek IntelliStripe65 99875161 User Manual

Page 71

Advertising
background image

65

SECTION 9. HOST COMMUNICATIONS APPLICATION


Application ID: 08 (Hex)
Description:
This application deals with host communications.

GET/SET/SAVE PROPERTY COMMANDS

Get Property Command ID: 00 (Hex)
Set Property Command ID: 01 (Hex)
Save Property Command ID: 02 (Hex)
Description:
These commands are used to get, set and save the value of application properties. Details of
these commands are described in the Generic command section of this document. The following
describes each property this application supports.

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.

Advertising