10. Data Format
The USB version of the reader can be operated in two different modes:
HID ID TECH mode (HID Mode), Product ID: 2010
•
HID with Keyboard Emulation (KB Mode), Product ID: 2030
•
When the reader is operated in the HID mode, it behaves like a vendor defined HID device. A direct
communication path can be established between the host application and the reader without
interference from other HID devices.
10.1. Level One and Level Two Standard Mode Output Format
USB HID Output Format
Card data is only sent to the host on the Interrupt In pipe using an Input Report. The reader will send
one Input Report per card swipe. If the host requests data from the reader when no data is available,
the reader will send a NAK to the host to indicate it has nothing to send.
10.1.1. USB HID Data Format
Other Mode Reader Data Structure
Offset
Usage Name
0
T1 decode status
1
T2 decode status
2
T3 decode status
3
T1 data length
4
T2 data length
5
T3 data length
6
Card encode type
7-116
T1 data
117-226
T2 data
227-336
T3 data
Notes:
T1, T2 or T3 decode status: 0 for no error, 1 for error
•
T1, T2 or T3 Data Length: Each byte value indicates how many bytes of decoded card data
•
are in the track data field. This value will be zero if there was no data on the track or if
there was an error decoding the track.
SecureMag Encrypted MagStrip Reader User Manual
Page | 25