Software id property – MagTek USB INSERTION READER User Manual

Page 28

Advertising
background image

USB Insertion Reader

20


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

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

MSR DIRECTION

Magnetic stripe read direction

4

CARD INSERTED

Card inserted indicator

5

MAX PACKET SIZE

The interrupt pipe’s packet size

16

INTERFACE TYPE

Type of USB interface

27

TRACK ID ENABLE

Allows Tracks to be disabled


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 “21042817C01”.

Advertising