Acquire Scanned Data; Send Command To The Scanner; Vid/Pid - Newland NLS-HR42 User Manual

2d handheld barcode scanner
Table of Contents

Advertisement

Acquire Scanned Data

After a barcode is decoded, the scanner sends an input report as below:
Byte
7
0
1
2-57
58-61
62
63
-

Send Command to the Scanner

This output report is used to send commands to the scanner. All programming commands can be used.
Byte
7
0
1
2-62
63
-

VID/PID

USB uses VID (Vendor ID) and PID (Product ID) to identify and locate a device. The VID is assigned by USB Implementers
Forum. Newland's vendor ID is 1EAB (Hex). A range of PIDs are used for each Newland product family. Every PID
contains a base number and interface type (keyboard, COM port, etc.).
Product
HR42
6
5
Newland Symbology Identifier or N/C: 0x00
-
-
6
5
-
-
Interface
USB HID Keyboard
USB CDC
USB HID-POS
Bit
4
3
Report ID = 0x02
Barcode Length
Decoded Data (1-56)
Reserved (1-4)
-
-
Bit
4
3
Report ID = 0x04
Length of command
Command
-
-
PID (Hex)
1E03
1E06
1E10
2
1
Decoded data
-
-
continued
2
1
Command
-
-
continued
PID (Dec)
7683
7686
7696
0
0
68

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents