Compaq 99875320-5 manual Resetdevice Command, Cmd Num Data Len

Page 31

Section 4. USB Communications

RESET_DEVICE COMMAND

Command number: 0x02

 

 

 

Description:

This command is used to reset the device. This command can be used to

 

make previously changed properties take affect without having to unplug and

 

then plug in the device. When the device resets, it automatically does a USB

 

detach followed by an attach. After the host sends this command to the device

 

it should close the USB port, wait a few seconds for the operating system to

 

handle the device detach followed by the attach and then re-open the USB

 

port before trying to communicate further with the device.

Data structure:

No data is sent with this command

Result codes:

0 (success)

 

 

 

Example Request (Hex):

 

 

 

 

 

Cmd Num

Data Len

Data

 

 

 

02

00

 

 

Example Response (Hex):

 

 

 

 

 

Result Code

Data Len

Data

 

 

 

00

00

 

 

23

Image 31
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 SpecificationsUSB HID IntelliHead Swipe Reader Hardware ConfigurationsAccessories Reference DocumentsFeatures and Specifications SpecificationsUSB HID IntelliHead Swipe Reader USB Connection InstallationWindows Plug and Play Setup Pin Number Signal Cable ColorUSB HID IntelliHead Swipe Reader Card Read OperationUSB HID IntelliHead Swipe Reader HID Usages USB CommunicationsValue Report DescriptorUsage ID Usage Name Hex Type Report TypeOffset Usage Name Card DataTrack 1 Decode Status USB Communications Value HexTrack 2 Data Length Track 2 Decode StatusTrack 3 Decode Status Track 1 Data LengthTrack 2 Data Card Encode TypeTrack Data Track 1 DataData CommandsCommand Number Data LengthResult Code GET and SET Property CommandsCmd Num Data Len Prp ID Softwareid PropertyValue Property ID Description Hex Property Type DescriptionResult Code Data Len Prp Value 31 32 Serialnum PropertyCmd Num Data Len Prp ID Prp Value 31 32 Result Code Data LenCmd Num Data Len Prp ID Prp Value Pollinginterval PropertyResult Code Data Len Prp Value Maxpacketsize Property Trackidenable Property Interfacetype Property Decodeenable Property Cmd Num Data Len Resetdevice CommandUSB HID IntelliHead Swipe Reader Demo Program InstallationOperation 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