beautypg.com

Software id property – MagTek MICRSafe99875466 User Manual

Page 35

background image

Section 5. USB Communications

27

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

Property ID

Description

0x00 (0)

Software ID

The device’s software identifier

0x01 (1)

Serial Num

The device’s serial number

0x02 (2)

Polling Interval

The interrupt pipe’s polling interval

0x04 (4)

Track Data Send Flags

Track data send flags

0x0F (15) ASCII To Keypress Conversion Type

Type of conversion performed when
converting ASCII data to key strokes

0x11 (17)

Active Keymap

Selects which key map to use

0x1A (26) Convert From Char A

Selects character to use when converting to
string A

0x1B (27) Convert To String A

Selects string to use when converting from
char A

0x1C (28) Convert From Char B

Selects character to use when converting to
string B

0x1D (29) Convert To String B

Selects string to use when converting from
char B


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 range from 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:

0

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’s USB CPU. The first 8 bytes represent the part
number and the last 3 bytes represent the version. For example this string
might be “22827021A01”. Examples follow:


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 32 38 32 37 30 32 31 41 30 31