background image

 

Section 4.  USB Communications 

 

MAX_PACKET_SIZE PROPERTY 

 
Property ID: 

0x03 

Property Type: 

Byte 

Length: 1 

byte 

Get Property: 

Yes 

Set Property: 

Yes 

Default Value: 

Description: 

The value is a byte that represents the devices maximum packet size for the 
Interrupt In Endpoint.  The value can be set in the range of 1 – 64 and has 
units of bytes.  The maximum packet size tells the host the maximum size of 
the Interrupt In Endpoint packets.  For example, if the maximum packet size is 
set to 8, the device will send HID reports in multiple packets of 8 bytes each 
or less for the last packet of the report.  This property can be used to speed up 
or slow down the time it takes to send card data to the host.  Larger packet 
sizes speed up communications and smaller 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 decreases the USB bus bandwidth used by the device.  
The value of this property will be sent to the host when the host requests the 
device’s USB endpoint 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 Number 2) or power cycled to have these changes take effect. 

 
Example Set 

Max Packet Size

 property Request (Hex): 

Cmd Num 

Data Len 

Prp ID 

Prp Value 

01 02 

03 

08 

 
Example Set 

Max Packet Size

 property Response (Hex): 

Result Code  Data Len 

Data 

00 00 

 

 
Example Get 

Max Packet Size

 property Request (Hex): 

Cmd Num 

Data Len 

Prp ID 

00 01 

03 

 
Example Get 

Max Packet Size

 property Response (Hex): 

Result Code  Data Len 

Prp Value 

00 01 

08 

 

  19

Содержание 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...

Отзывы: