Recent Changes - Search:

Products

General resources

edit SideBar

HIDPOSProtocol / HIDPOSProtocol :
By William - July 13, 2017, at 03:33 PM

Send data to the barcode scanner

This output report is used to send raw data to the device, all menu commands can be used.

For example: sending 1b 31 to scanner

04 02 1b 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Acquire data from barcode scanner

After scanning and decoding a barcode, scanner sends the following input report Decoded data will be divided into multi packages if exceed 56 bytes and byte 63 set as 01, or 00 when data length no more than 56.

For example acquiring 1b 31 from scanner

02 02 1b 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Example case:

How to turn on/turn off illumination LED by HID-POS protocol

1, check the command from integration guide or user guide (take FM420 for instance)

Command of turning on illumination LED: NLS0200010

(HEX: 4E 4C 53 30 32 30 30 30 31 30)

Command of turning off illumination LED: NLS0200020

(HEX: 4E 4C 53 30 32 30 30 30 32 30)

2, command package to FM420 in HID-POS mode

Turning on illumination LED:

04 0A 4E 4C 53 30 32 30 30 30 31 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Turning off illumination LED:

04 0A 4E 4C 53 30 32 30 30 30 32 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

If success, will get response as below:

04 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Edit - History - Print - Recent Changes - Search