2019-04-11 07:52 PM
I'm trying to use the stack usb hid to talk with a barcode scanner. When I connect the scanner it is classified as a keyboard, but does not generate the interrupt events. Does anybody know why?
thanks!
2019-04-12 06:05 PM
up
2019-04-12 09:40 PM
help me
2019-04-13 01:50 PM
Does it work with other, real keyboards?
Which STM32 is it? For some families, update to the latest CubeMX library version can help.
-- pa
2019-04-14 06:22 AM
I am using the latest Cubemx version!
It works normally with a normal keyboard, but when used with Barcode, the Usb only Start, not ready
2019-04-14 06:27 AM
You've got all the equipment in front of you, instrument the code to understand the interaction and perhaps augment that with a USB analyzer if you have one. Perhaps use a software based monitor on a PC, and compare.
2019-04-14 12:00 PM
As Clive advised, you need to debug with a USB analyzer or debug prints
2020-12-22 01:40 AM
Hello, I have the same problem in my program, did you solve it?
2020-12-22 11:34 AM
The HID host goes to "ready" state after completing few class-defined requests to the device.
Looks like some request fails or the device does not respond.
Debug to understand where it's stuck and how to recover, and use a USB sniffer.
If this sounds not feasible, find a consultant/contractor who can do it for you.
-- pa