Software_id property – MagTek USB (UNIVERSAL SERIAL BUS) KEYBOARD EMULATION User Manual

Page 23

Advertising
background image

Section 4. USB Communications


15

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

0

SOFTWARE_ID

The device’s software identifier

1

SERIAL_NUM

The device’s serial number

2

POLLING_INTERVAL

The interrupt pipe’s polling interval

3

TRACK_ID_ENABLE

Track enable / ID enable

4 TRACK_DATA_SEND_FLAGS

Track data send flags

5

TERMINATION_CHAR

Terminating char / per track or card flag

6

SS_TK2_7BITS

Start sentinel char for track 2 – 7 bit data

7

SS_TK3_CADL

Start sentinel char for track 3 – CA drivers
license

8

SS_TK3_ISO_ABA

Start sentinel char for track 3 – ISO/ABA

9

SS_TK3_AAMVA

Start sentinel char for track 3 - AAMVA

10

SS_TK3_7BITS

Start sentinel char for track 3 – 7 bit data

11 PRE_CARD_CHAR

Pre

card

char

12

POST_CARD_CHAR

Post card char

13 PRE_TK_CHAR

Pre

track

char

14

POST_TK_CHAR

Post track char


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:

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. The first 8 bytes represent the part number and the last 3
bytes represent the version. For example this string might be “21042802A05”. 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 31 30 34 32 38 30 32 41 30 35

Advertising