
Page
68
of
77
Copyright © Access-IS 2020
B. HID reports
– barcode only
B.1 Receive data
Data received from the LSR118 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 LSR118
(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
Byte
7
6
5
4
3
2
1
0