Interface type property – MagTek MagneSafe V5 User Manual

Page 46

Advertising
background image

MagneSafe V5

38

Interface Type Property

Property ID:

0x10

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

0x00 (HID)

Description:

The value is a byte that represents the reader’s interface type. With USB
readers, the value can be set to 0x00 for the HID interface or to 0x01 for the
Keyboard Emulation interface. When the value is set to 0x00 (HID) the
reader will correspond to the HID descriptions in this document. When the
value is set to 0x01 (keyboard emulation) the reader will correspond to the KB
descriptions in this document. This property should be the first property
changed because it affects which other properties are available. After this
property is changed, the reader should be power cycled before changing any
other properties.

Readers other than the USB HID and KB emulation models return other
Interface Type values as shown:

0x00 Flash
0x02 iDynamo, UART/RS-232 Models
0x03 BulleT

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 Keyboard Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

02

10

01


Example Set Interface Type property Response (Hex):

Result Code Data Len

Data

00

00


Example Get Interface Type property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

10


Example Get Interface Type property Response (Hex) (when in HID type):

Result Code Data Len

Prp Value

00

01

00

Advertising