Access The Device In Your Program; Getting Scanned Data; Vid And Pid Table - Newland FM420 Integration Manual

Embedded 1d/2d barcode scanner
Hide thumbs Also See for FM420:
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.
org.

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
-

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
Length of the bar code (field "Decoded Data")
Newland Symbology Identifier or N/C:0x00
-
-
Interface Type
Base
HID POS
Base
HID POS
Bit
4
3
Report ID = 0x02
Decoded Data (1-56)
Reserved (1-4)
-
-
PID(Hex)
0200
0210
0100
0110
Code Programming ON
Code Programming OFF
2
1
-
-
PID(Dec)
512
528
256
272
Tools
0
Decode
Data
Continued
Page 43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents