Access The Device In Your Program; Getting Scanned Data; Vid And Pid Table - Newland NLS-HR200 User Manual

Hand-held 2d barcode scanner
Hide thumbs Also See for NLS-HR200:
Table of Contents

Advertisement

USB Interface
USB Interface
HID-POS

Access the Device in Your Program

CreateFile opens the device as a HID, then ReadFile delivers the scanned data
to the application. Use WriteFile to send data to the device.
For complete information on USB and HID interfaces, please see www.USB.
com or refer to one of the following manuals:

Getting Scanned Data

After scanning and decoding a bar code, the device sends the following input report:
Byte
7
0
1
2-57
58-61
62
63
7

VID and PID Table

USB uses two numbers to identify a device and find the correct drivers. The first is the VID (Vendor ID),
assigned by the USB Implementers Forum. The Newland vendor ID (VID) is 1EAB (hex). The second is the
PID (Product ID). A range of PIDs is used for each Newland product sub family, so each PID contains a base
number and an interface type (keyboard, COM port, etc.).
Device
EM2027*
HR200
*EM2027:A 2D barcode scan engine which is also designed and manufactured by Newland.
please see www.nlscan to get more EM2027 product info.
nlscan.com
6
5
Report ID = 0x02
Length of the bar code (field "Decoded Data")
Decoded Data (1-56)
Reserved (1-4)
Newland Symbology Identifier or N/C:0x00
6
5
Interface Type
Base
HID POS
Base
HID POS
Bit
4
3
4
3
PID(Hex)
0200
0210
0100
0110
Code Programming ON
Code Programming OFF
2
1
2
1
PID(Dec)
512
528
256
272
Tools
0
Decode
Data
Continued
Page 46

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents