如何检查我的条码扫描仪是否符合 USB HID POS 扫描仪规范?

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

我正在尝试使用 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 我正在使用。当我扫描到文本框或记事本时,扫描仪在有线和蓝牙模式下运行良好,但我想以编程方式捕获数据接收事件。

根据说明书,扫描仪有以下接口:USB HID、USB Virtual Serial、SPP以及单次、连续和自动扫描

USB HID POS 扫描器规范在本文档中有描述:HID Point of Sale Usage Tables.

是用得不多的规范,支持的设备有限

此处列出支持的设备Supported Point of Service Peripherals

您要使用的设备似乎没有列出。
但是,如果可以将扫描仪设置为BluetoothSPP-SSI mode,则有可能可以使用,请尝试一下。

如果不行,请询问扫描仪供应商是否有符合此规范的设备驱动程序Barcode scanner driver sample或是否可以创建设备驱动程序。

我们使用 Intermec 扫描仪,但您的应该也能正常工作(检查您的 link,顺便说一句,它坏了)。如果您将扫描仪编程为在 USB HID 模式下工作(某些扫描仪为 HID POS 模式),根据 HID 规范,它应该通过报告使用页面 0x8c 将自身作为 HID POS 设备枚举给主机。如果它没有这样做,您需要检查您的代码,确保它没有通过 HID 使用页面进行过滤。