Compaq 99875320-5 manual Interfacetype Property

Page 29

Section 4. USB Communications

INTERFACE_TYPE PROPERTY

Property ID:

0x10

Property Type:

Byte

Length:

1 byte

Get Property:

Yes

Set Property:

Yes

Default Value:

0 (HID)

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 Keyboard Emulation 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):

Result Code

Data Len

Prp Value

00

01

01

21

Image 29
Contents October Registered to ISO USB HID IntelliheadPage Rev Number Date RevisionsLimitation on Liability Limited WarrantyFCC Warning Statement FCC Compliance Statement Table of Contents Vii USB IntelliHead 3-Track Features Features and SpecificationsAccessories Hardware ConfigurationsReference Documents USB HID IntelliHead Swipe ReaderFeatures and Specifications SpecificationsUSB HID IntelliHead Swipe Reader Windows Plug and Play Setup InstallationPin Number Signal Cable Color USB ConnectionUSB HID IntelliHead Swipe Reader Card Read OperationUSB HID IntelliHead Swipe Reader HID Usages USB CommunicationsUsage ID Usage Name Hex Type Report DescriptorReport Type ValueTrack 1 Decode Status Card DataUSB Communications Value Hex Offset Usage NameTrack 3 Decode Status Track 2 Decode StatusTrack 1 Data Length Track 2 Data LengthTrack Data Card Encode TypeTrack 1 Data Track 2 DataCommand Number CommandsData Length DataResult Code GET and SET Property CommandsValue Property ID Description Hex Softwareid PropertyProperty Type Description Cmd Num Data Len Prp IDCmd Num Data Len Prp ID Prp Value 31 32 Serialnum PropertyResult Code Data Len Result Code Data Len Prp Value 31 32Result Code Data Len Prp Value Pollinginterval PropertyCmd Num Data Len Prp ID Prp Value Maxpacketsize Property Trackidenable Property Interfacetype Property Decodeenable Property Cmd Num Data Len Resetdevice CommandUSB HID IntelliHead Swipe Reader Operation InstallationDemo Program Source Code Part Number Title Appendix A. DrawingsUSB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader Appendix A. Drawings USB HID IntelliHead Swipe Reader