Search code examples
c#usbbarcode-scannerhid

How do I check if my barcode scanner adheres to the USB HID POS Scanner specification?


I am trying to use Windows-Universal-Samples for a barcode scanner, however after building the solution, the program is unable to locate the barcode scanner. I read that the barcode scanner needs to adhere to the "USB HID POS Scanner specification" I am not really sure what that means and how to check for it. This is the barcode scanner I am using. The scanner worked fine wired and bluetooth mode when I am scanning to a text box or Notepad, but I would like to catch the data received event programmatically.

According to the manual the scanner has the following interfaces: USB HID, USB Virtual Serial, SPP and single, continuous and automatic scan


Solution

  • USB HID POS Scanner specification is described in this document: HID Point of Sale Usage Tables.

    It is a specification that is not used so much, and the equipment that support is limited.

    Supported devices are listed here: Supported Point of Service Peripherals.

    It seems that the device you want to use is not listed.
    However, if you can set the scanner to SPP-SSI mode of Bluetooth, there is a possibility that it can be used, so please try it.

    If it does not work, please ask the scanner vendor whether there is a device driver according to this specification Barcode scanner driver sample or can create a device driver.