background image

 

SECTION 4.  USB COMMUNICATIONS 

 
This device conforms to the USB specification revision 1.1.  This device also conforms with the 
Human Interface Device (HID) class specification version 1.1.  The device communicates to the 
host as a vendor-defined HID device.  The details about how the card data and commands are 
structured into HID reports follow later in this section.  The latest versions of the Windows 
operating systems come with a standard Windows USB HID driver.  Windows applications that 
communicate to this device can be easily developed.  These applications can communicate to the 
device using standard windows API calls that communicate to the device using the standard 
Windows USB HID driver.  These applications can be easily developed using compilers such as 
Microsoft’s Visual Basic or Visual C++.  A demonstration program and its source code, written 
in Visual Basic, that communicates with this device is available.  This demo program can be 
used to test the device and it can be used as a guide for developing other applications.  More 
details about the demo program follow later in this document. 
 
It is recommended that application software developers become familiar with the HID 
specification the USB specification before attempting to communicate with this device.  This 
document assumes that the reader is familiar with these specifications.  These specifications can 
be downloaded free from 

www.usb.org

 
This is a full speed USB device.  This device has a number of programmable configuration 
properties.  These properties are stored in non-volatile memory.  These properties can be 
configured at the factory or by the end user.  The device has an adjustable endpoint descriptor 
polling interval value that can be set to any value in the range of 1ms to 255ms.  This property 
can be used to speed up or slow down the card data transfer rate.  The device also has an 
adjustable serial number descriptor.  More details about these properties can be found later in this 
document in the command section. 
 
The device will go into suspend mode when directed to do so by the host.  The device will wake 
up from suspend mode when directed to do so by the host.  The device does not support remote 
wakeup. 
 
This device is powered from the USB bus.  The vendor ID is 0x0801 and the product ID is 
0x0002. 
 

HID USAGES 

 
HID devices send data in reports.  Elements of data in a report are identified by unique identifiers 
called usages.  The structure of the device’s reports and the device’s capabilities are reported to 
the host in a report descriptor.  The host usually gets the report descriptor only once, right after 
the device is plugged in.  The report descriptor usages identify the devices capabilities and report 
structures.  For example, a device could be identified as a keyboard by analyzing the device’s 
report descriptor.  Usages are four byte integers.  The most significant two bytes are called the 
usage page and the least significant two bytes are called usage IDs.  Usages that are related can 
share a common usage page.  Usages can be standardized or they can be vendor defined.  
Standardized usages such as usages for mice and keyboards can be found in the HID Usage 
Tables document and can be downloaded free at 

www.usb.org

.  Vendor-defined usages must 

  9

Содержание 99875320-5

Страница 1: ...E READERS TECHNICAL REFERENCE MANUAL Manual Part Number 99875320 5 OCTOBER 2008 REGISTERED TO ISO 9001 2000 Phone 562 546 6400 Technical Support 651 415 6800 www magtek com 1710 Apollo Court Seal Beac...

Страница 2: ...ii...

Страница 3: ...Information in this document is subject to change without notice No part of this document may be reproduced or transmitted in any form or by any means e w M In USB Universal Serial Bus Specification i...

Страница 4: ...than MagTek s original packages and for goods modified altered or treated by customers Service may be obtained by delivering the product during the warranty period to MagTek 1710 Apollo Court Seal Bea...

Страница 5: ...sted and found to comply with the limits for Class B digital device pursuant to Part 15 of FCC Rules These limits are designed to provide reasonable protection against harmful interference whe equipme...

Страница 6: ...ATIONS HID USAGES REPORT DESCRIPTOR CARD DATA TRACK 1 DECODE STATUS TRACK 2 DECODE STATUS TRACK 3 DECODE STATUS TRACK 1 DATA LENGTH TRACK 2 DATA LENGTH TRACK 3 DATA LENGTH CARD ENCODE TYPE TRACK DATA...

Страница 7: ...Wire 4 05mm Beam Arm 5 Pin Molex Figure A 4 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black Figure A 5 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black Figure A 6 USB H...

Страница 8: ...viii Figure 1 1 USB IntelliHead 3 Track...

Страница 9: ...stablished between the Host application and the device without interference such as keystrokes from other HID devices For information on the USB KB Emulation IntelliHead refer to Technical Manual 9987...

Страница 10: ...90mm Black rail 21046003 USB HID IntelliHead 60mm Slim rail 125mm 5 pin Molex 60mm Black slim rail 21047011 USB HID IntelliHead Slim rail 125mm 5 pin Molex 90mm Black slim rail ACCESSORIES The accesso...

Страница 11: ...Normal Mode Suspend Mode 15mA 200 A MECHANICAL Weight 1 1 oz 31 gr Cable length See related drawing in Appendix A Connector See related drawing in Appendix A ENVIRONMENTAL Temperature Operating 40 o C...

Страница 12: ...USB HID IntelliHead Swipe Reader 4...

Страница 13: ...ng system the first time the device is plugged into a specific USB port Windows will pop up a dialog box which will guide you through the process of installing a device driver for the device After thi...

Страница 14: ...USB HID IntelliHead Swipe Reader 6...

Страница 15: ...ripe must face toward the head and may be swiped in either direction If there is data encoded on the card the device will attempt to decode the data and then send the results to the host via a USB HID...

Страница 16: ...USB HID IntelliHead Swipe Reader 8...

Страница 17: ...erties are stored in non volatile memory These properties can be configured at the factory or by the end user The device has an adjustable endpoint descriptor polling interval value that can be set to...

Страница 18: ...Input 30 Track 1 data Data Input 31 Track 2 data Data Input 32 Track 3 data Data Input 38 Card encode type Data Input 20 Command message Data Feature REPORT DESCRIPTOR The HID report descriptor is str...

Страница 19: ...e sent even if the data is not decodable The following table shows how the input report is structured Offset Usage Name 0 Track 1 decode status 1 Track 2 decode status 2 Track 3 decode status 3 Track...

Страница 20: ...to one If it is zero then no error occurred If a track has data on it that is not noise and it is not decodable then a decode error is indicated If a decode error is indicated the corresponding track...

Страница 21: ...ty The JIS type 2 decoding option was not added until firmware with software ID 21042812K01 was release in October 2008 TRACK DATA If decodable track data exists for a given track it is located in the...

Страница 22: ...t the command response The usage ID for the command message was shown previously in the Usage Table The following table shows how the feature report is structured for command requests Offset Field Nam...

Страница 23: ...ifferent commands Command specific result codes are defined in the documentation for the command that uses them Generic result codes are defined in the following table Value Hex Result Code Descriptio...

Страница 24: ...n 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 de...

Страница 25: ...requests the USB string descriptor 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 Numb...

Страница 26: ...the card data transfer rate increases the USB bus bandwidth used by the device and slowing down the card data transfer rate decreases the USB bus bandwidth used by the device The value of this proper...

Страница 27: ...ler packet sizes slow down communications The trade off is that speeding up the card data transfer rate increases the USB bus bandwidth used by the device and slowing down the card data transfer rate...

Страница 28: ...f blank 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 hav...

Страница 29: ...perty 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 n...

Страница 30: ...served decode type bits should always be set to zero 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 rese...

Страница 31: ...matically 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 f...

Страница 32: ...USB HID IntelliHead Swipe Reader 24...

Страница 33: ...the instructions on the screen for installing the Windows HID device driver This is explained in more detail in the installation section of this document Run the demo program To read cards and view th...

Страница 34: ...n be used as a guide for application development It is described in detail with comments to assist developers The book USB Complete by Jan Axelson is also a good guide for application developers espec...

Страница 35: ...ex 21040124 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black body 21040128 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black body 21044000 USB HID IntelliHead 3 Track 125m...

Страница 36: ...USB HID IntelliHead Swipe Reader Figure A 1 USB HID IntelliHead 3 Track 125mm Wire 5 Pin Connector 28...

Страница 37: ...Appendix A Drawings Figure A 2 USB HID IntelliHead 3 Track 440mm Wire 5 Pin Reverse Connector 29...

Страница 38: ...USB HID IntelliHead Swipe Reader Figure A 3 USB HID IntelliHead 3 Track 125mm Wire 4 05mm Beam Arm 5 Pin Molex 30...

Страница 39: ...Appendix A Drawings Figure A 4 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black 31...

Страница 40: ...USB HID IntelliHead Swipe Reader Figure A 5 USB HID IntelliHead 3 Track 6 Cable USB A Connector 100mm Black 32...

Страница 41: ...Appendix A Drawings Figure A 6 USB HID IntelliHead 3 Track 125mm Wire 5 pin Molex connector 43mm rail 33...

Страница 42: ...USB HID IntelliHead Swipe Reader Figure A 7 USB HID IntelliHead 3 Track 125mm Wire 5 pin Connector 90mm rail 34...

Страница 43: ...Appendix A Drawings Figure A 8 USB HID IntelliHead 3 Track 125mm Wire 5 pin Molex Connector 60mm Slim Profile 35...

Страница 44: ...USB HID IntelliHead Swipe Reader 36 Figure A 9 USB HID IntelliHead 3 Track 125mm Wire 5 pin Molex Connector 90mm Slim Profile...

Отзывы: