User manual

Copyright © 2011, Unitech America Inc. All rights reserved.
Page 23 of 61
MS246 User Manual
8.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.
Card Encode Type:
Value Encode Type Description
0 ISO/ABA ISO/ABA encode format.
1 AAMVA AAMVA encode format.
3 Other The card has a non-standard format. For
example, ISO/ABA track 1 format on track
2.
4 Raw The card data is sent in Raw encrypted
format. All tracks are encrypted and no
mask data is sent.
T1, T2 or T3 data: The length of each track data field is fixed at 110 bytes, but
the length of valid data in each field is determined by the track data length field
that corresponds to the track number. The track data includes all data string
starting with the start sentinel and ending with the end sentinel.
Unitech 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