![Access Interfacing Solutions ATR110 Скачать руководство пользователя страница 61](http://html.mh-extra.com/html/access-interfacing-solutions/atr110/atr110_product-manual_455305061.webp)
Page
61
of
70
Copyright © Access-IS 2016
B. HID reports - barcode only
B.1 Receive data
Data received from the ATR110 will be in a HID input report, structured as below:
Bit
Byte
7
6
5
4
3
2
1
0
0
Report ID = 2
1
Length of data field
2
AIM symbology identifier
(always ‘]’)
3
AIM symbology identifier 1
4
AIM symbology identifier 2
5
Data from ATR110
(up to 56 bytes)
..
..
..
..
60
61
Further symbology identifier
62
Reserved
63
-
-
-
-
-
-
-
Data
cont’d
B.1.1 Example HID input reports, as sent by the device
In this example, the decoded barcode contained 60 bytes of data, which the device split into two
HID reports. Note that byte 63 in 0x01 in the first report and 0x00 in the second report indicates
whether to expect more data or not. In the second packet, the remaining 52 bytes of data are set to
0x00.
Bit
Byte
7
6
5
4
3
2
1
0
0
[0x02]
1
[0x38] - (56)
2
[0x5D] -
‘]’
3
[0x51] -
‘Q’
4
[0x30] -
‘0’
5
M1GATHERGOOD/M
ICHAEL YABCDE
F LHRDURAK 354
2 052Y003D23[0x20][0x20]
..
..
60
61
[0x73] -
‘s’
62
[0x00]
63
0
0
0
0
0
0
0
1