Connect-Tek USB-8 Specifications Page 21

  • Download
  • Add to my manuals
  • Print
  • Page
    / 34
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 20
Section 4. USB Communications
15
Item
Value
(Hex)
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
TRACK 1 DECODE STATUS
Bits
7-1
0
Value
Reserved
Error
This is a one-byte value, which indicates the status of decoding track 1. Bit position zero
indicates if there was an error decoding track 1 if the bit is set 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 data length value for the track
that has the error will be set to zero and no valid track data will be supplied.
TRACK 2 DECODE STATUS
Bits
7-1
0
Value
Reserved
Error
This is a one-byte value, which indicates the status of decoding track 2. Bit position zero
indicates if there was an error decoding track 2 if this bit is set 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 data length value for the track
that has the error will be set to zero and no valid track data will be supplied.
Page view 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 33 34

Comments to this Manuals

No comments