LINKS
LINKS
How to send and acquire data in HID POS
Announcer: Stephen Time: 30th Jul 2021
Share to :
MORE
2615 views 0 comments

1.  USB HID-POS Report ID

  • Out Report ID : 0x04
  • In Report ID : 0x02

reference with packet format as below:

http://res.newland-id.com/misc/images/HIDPOSsenddata.webp

http://res.newland-id.com/misc/images/HIDPOSacquiredata.webp

  • Example 1: acquire serial number from FM30

send data to the scanner as below

04 09 7E 00 05 01 01 F0 08 11 11 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 response from the scanner

02 0E 02 00 00 08 45 4C 30 33 30 30 39 35 25 51 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

then we'll get the S/N (EL030095) of this device which is localed from 7th to 14th in the return message with HEX

  • Example 2: activate/terminate scanning session for FM30

1) enter command trigger mode

send data to the scanner

04 09 7E 00 08 01 00 00 D5 EF 41 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 response from the scanner

02 07 02 00 00 01 00 33 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

2) activate scanning session

send data to the scanner

04 09 7E 00 08 01 00 02 01 02 DA 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 response from the scanner

02 07 02 00 00 01 00 33 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

3) terminate scanning session

send data to the scanner

04 09 7E 00 08 01 00 02 02 32 B9 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 response from the scanner

02 07 02 00 00 01 00 33 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

  • Example 3: activate/terminate scanning session for FM50

1) activate scanning session

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

2) terminate scanning session

04 02 1B 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 00 00 00 00 00 00 00 00

 

All comments (0)
POPULAR TAGS