Interface_type property – MagTek USB MagnePrint Swipe Reader with Encryption User Manual

Page 44

Advertising
background image

USB MagnePrint Swipe Reader with Encryption

36

This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect.

Example Set ASCII_TO_KEYPRESS_CONVERSION_TYPE property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01 02

0F

00

Example Set ASCII_TO_KEYPRESS_CONVERSION_TYPE property Response (Hex):

Result Code Data Len

Data

00 00

Example Get ASCII_TO_KEYPRESS_CONVERSION_TYPE property Request (Hex):

Cmd Num

Data Len

Prp ID

00 01

0F

Example Get ASCII_TO_KEYPRESS_CONVERSION_TYPE property Response (Hex):

Result Code Data Len

Prp Value

00 01

00


INTERFACE_TYPE PROPERTY

Property ID:

16 (0x10)

Property Type:

Byte

Length: 1

byte

Get Property:

Yes

Set Property:

Yes

Default Value:

1 (keyboard emulation)

Description:

The value is a byte that represents the devices interface type. The value can
be set to 0 for the HID interface or to 1 for the Keyboard Emulation interface.
When the value is set to 0 (HID) the device will behave as described in the
HID manual. When the value is set to 1 (keyboard emulation) the device will
behave as described in the keyboard emulation manual. This property should
be the first property changed because it affects which other properties are
available. After this property is changed, the device should be power cycled
before changing any other properties.

This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect.


Example “Set INTERFACE_TYPE property to HID” Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01 02

10

00

Example Set INTERFACE_TYPE property Response (Hex):

Result Code Data Len

Data

00 00

Advertising