Section 4. USB Communications
Item | Value |
| (Hex) |
Input (Data, Variable, Absolute, Buffered Bytes) | 82 02 01 |
Usage (Command message) | 09 20 |
Report Count (24) | 95 18 |
Feature (Data, Variable, Absolute, Buffered Bytes) | B2 02 01 |
End Collection | C0 |
CARD DATA
Card data is only sent to the host on the Interrupt In pipe using an Input Report. The device will send only one Input Report per card swipe. If the host requests data from the device when no data is available, the device will send a Nak to the host to indicate that it has nothing to send. When a card is swiped, the Input Report will be 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 1 data length |
|
|
4 | Track 2 data length |
|
|
5 | Track 3 data length |
|
|
6 | Card encode type |
|
|
7 – 116 | Track 1 data |
|
|
117 – 226 | Track 2 data |
|
|
227 - 336 | Track 3 data |
|
|
11