Software id property – MagTek USB HID SURESWIPE & USB HID SWIPE READER User Manual

Page 25

Advertising
background image

Section 4. USB Communications

19

Get Property Request Data:

Data Offset

Value

0

Property ID


Get Property Response Data:

Data Offset

Value

0 – n

Property Value


Set Property Request Data:

Data Offset

Value

0

Property ID

1 – n

Property Value


Set Property Response Data:
None

The result codes for the Get and Set Property commands can be any of the codes list in the
generic result code table.

Property ID is a one-byte field that contains a value that identifies the property. The following
table lists all the current property ID values:

Value

(Hex)

Property ID

Description

00

SOFTWARE ID

The device’s software identifier

01

SERIAL NUM

The device’s serial number

02

POLLING INTERVAL

The interrupt pipe’s polling interval

03

MAX PACKET SIZE

The interrupt pipe’s packet size

04

TRACK ID ENABLE

Allows tracks to be disabled

16

INTERFACE TYPE

Type of USB interface

52

HOST POLL TIMEOUT

Allows USB poll timeout to be adjusted


The Property Value is a multiple-byte field that contains the value of the property. The number
of bytes in this field depends on the type of property and the length of the property. The
following table lists all of the property types and describes them.

Property Type Description
Byte

This is a one-byte value. The valid values depend on the property.

String

This is a multiple-byte ASCII string. Its length can be zero to a
maximum length that depends on the property. The value and
length of the string does not include a terminating NUL character.


SOFTWARE ID PROPERTY

Property ID:

0x00

Property Type:

String

Length:

Fixed at 11 bytes

Get Property:

Yes

Set Property:

No

Description:

This is an 11-byte read only property that identifies the software part number
and version for the device. The first 8 bytes represent the part number and the

Advertising