POSMicro ID Tech MiniMag Manual Download Page 9

 

MiniMag USB HID Reader Interface Reference 

 

5.  

USB HID Interface   

 

The MiniMag reader conforms to the USB specification revision 2.0. This device 
also conforms to the Human Interface Device (HID) class specification version 2.0. 
The reader 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, Windows 98, 
Me, 2000, and XP all come with a standard Windows USB HID driver. Windows 
applications that communicate to this reader can be easily developed. These 
applications can communicate to the reader using standard windows API calls that 
communicate to the reader 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 reader is available. This demo program 
can be used to test the reader and it can be used as a guide for developing other 
applications. More details about the demo program follow later in this document.  
 
Developers should become familiar with the HID specification and the USB 
specification before attempting to communicate with the reader. This document 
assumes the developer is familiar with these specifications. Specifications can be 
downloaded free from 

www.usb.org

.  

 
This is a full speed USB reader. The reader has a number of programmable 
configuration properties. These properties are stored in non-volatile EEPROM 
memory. These properties can be configured at the factory or by the end user. The 
reader 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 change 
the speed of the card data transfer rate.  

5.1 Data 

Structure 

MiniMag USB HID Reader supports both Mag-Tek and ID TECH data Structure 
with an EEPROM setting.  
 
USB HID Data Format Setting: 
Setting A:  ID TECH Data Format (Default setting) 

 

Product ID: 0500 

 

Setting B:  MagTek Data Format    

 

 

 

Product ID: 0510 

 
During first time the reader is plugged in, the Firmware will read the "Data Format 
Setting" from EEPROM and send current Product ID in enumeration. Each time 
after changing the "Data Format Setting", the firmware will save the setting to 
EEPROM then re-do the enumeration process.  (On occasion, the reader will need 
to be disconnected and connected again to switch the data format.) 

 

Copyright © 2006, International Technologies & Systems Corporation. All rights reserved. 

 
 

Page 8 of 15 

Summary of Contents for ID Tech MiniMag

Page 1: ...ow support POSMicro com Monday Friday 6 AM to 5 PM Pacific Time Bulk Discounts FREE SHIPPING SE Habla Espa ol Free ground shipping to the continental USA on orders over 100 For Help Call 1 800 241 626...

Page 2: ...erface Reference USER MANUAL MINIMAG EASYMAG USB HID READERS Models IDMB IDEA INTERFACE REFERENCE 02 02 2006 80066510 003 Rev A R02 06 412 Copyright 2006 International Technologies Systems Corporation...

Page 3: ...talled and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interferen...

Page 4: ...al Authorization RMA number instructions for returning the product THIS WARRANTY IS IN LIEU OF ALL OTHER WARRANTIES OF MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE THERE ARE NO OTHER WARRANTIES O...

Page 5: ...Mag Tek Format Data Structure 9 5 4 IDTECH format and MagTek format 10 5 5 Descriptor Tables 10 Device Descriptor 10 Configuration Descriptor 11 Interface Descriptor 11 HID Descriptor 11 End Pointer D...

Page 6: ...n be established with an application A demo program with its source code is available written in Visual Basic and exercises the reader using the standard Windows API 2 Features and Specifications Powe...

Page 7: ...e the device is plugged into a specific USB port Windows will pop up a dialog box The box provides a guide through the process of installing the HID device driver After this process is completed once...

Page 8: ...the card data the LED will turn red for less than one second to indicate that an error occurred and then turn green The reader does support USB suspend mode the LED be off in suspend mode 4 2 Card Rea...

Page 9: ...iliar with the HID specification and the USB specification before attempting to communicate with the reader This document assumes the developer is familiar with these specifications Specifications can...

Page 10: ...the ID TECH data editing and other features like preamble postamble etc The output data is always 500 bytes the Total Output Length field indicates the valid data length in the output data 5 3 Mag Tek...

Page 11: ...ncode TypeDescription 0 ISO ABA ISO ABA encode format 1 AAMVA AAMVA encode format 2 CADL California Driver License 3 Blank The card is blank 4 Other The card has a non standard format For example ISO...

Page 12: ...on Length 09 Des type 04 Interface No 00 Alternator Setting 00 EP 01 Interface Class 03 HID Sub Class 00 Interface Protocol 00 iInterface 00 HID Descriptor Field Value Description Length 09 Des type 2...

Page 13: ...e Status 09 21 Usage Tk2 Decode Status 09 22 Usage Tk3 Decode Status 09 28 Usage Tk1 Data Length 09 29 Usage Tk2 Data Length 09 2A Usage Tk3 Data Length 09 38 Usage Card Encode Type 95 07 Report Count...

Page 14: ...k2 Data Length 09 2A Usage Tk3 Data Length 09 38 Usage Card Encode Type 95 07 Report Count 81 02 Input Data Var Abs Bit Field 09 30 Usage Tk1 Data 95 6E Report Count 110 82 02 01 Input Data Var Abs Bi...

Page 15: ...rg Vendor defined usages must have a usage page in the range 0xff00 0xffff All usages for this device use vendor defined magnetic stripe reader usage page 0xff00 The usage IDs for this device are defi...

Page 16: ...t 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 7 Commands and responses Commands and responses are ex...

Reviews: