Access The Scanner With Your Program; Acquire Scanned Data; Vid/Pid - Newland HR3250 Marlin User Manual

Table of Contents

Advertisement

【Enter Setup】

Access the Scanner with Your Program

Use CreateFile to access the scanner as a HID device and then use ReadFile to deliver the scanned data to the
application program. Use WriteFile to send data to the scanner.
For detailed information about USB and HID interfaces, go to www.USB.org.

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
-

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
HR32 Marlin
**【Exit Setup】
6
5
Report ID = 0x02
Decoded Data (1-56)
Newland Symbology Identifier or N/C: 0x00
-
-
Interface
Base
HID POS
Bit
4
3
Barcode Length
Reserved (1-4)
-
-
PID (Hex)
0000
0010
2
1
Decode Data
-
-
Continued
PID (Dec)
0
16
0
60

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr40 koi series

Table of Contents