Copyright © Access-IS 2015
Page
34
of
39
Bit
Byte
7
6
5
4
3
2
1
0
0
[0x02]
1
[0x04]
2
[0x5D] - ‘]’
3
[0x51] - ‘Q’
4
[0x30] - ‘0’
5
[0x20]100
[0x00] [0x00]
...
[0x00] [0x00]
..
..
60
61
[0x73] - ‘s’
62
[0x00]
63
0
0
0
0
0
0
0
0
In this example, the decoded barcode contained 60 bytes of data which was split into two HID
reports. Note that byte 63 in 0x01 in the first report and 0x00 in the second report to indicate
whether to expect more data or not. In the second packet, the remaining 52 bytes of data are set to
0x00.
7.1.2 Sending Commands
Commands sent to the ATR110 should be formed into a HID out report with the following structure:
Bit
Byte
7
6
5
4
3
2
1
0
0
Report ID = 253
1
Data Length
2
Output data
(up to 62 bytes)
..
..
..
..
64