I need help for a project i'm working on, involving a barcode scanner.
I'm using an Arduino Uno, an USB host shield, and a Manhattan 177672. But i don't receive any data, even if it is suposed to be like a keyboard.
The scanner is recognized : if i launch USB_desc i get :
Intf. Class: 03 Intf. Subclass: 01 Intf. Protocol: 01
which means, if i understand well, it should be like a keyboard.
But if i launch USBHUD_desc, i get this :
Start 0000: 06 00 FF 09 01 A1 01 19 00 29 FF 15 00 25 FF 95 0010: 01 75 08 81 02 19 00 29 FF 15 00 25 FF 95 01 75 0020: 08 91 02 C0 Usage Page Undef(00) Usage Collection Application
I don't understant the first two lines, but the usage page undef means it is not a keyboard but... a thing.
Interesting infos :
- the scanner is set on USB mode. There is a keyboard mode, but then the Arduino does not even recognize the device
- when the scanner is plugged on my PC, it makes a beep when scanning. When plugged to the Arduino, it makes the same beep, then another beep one second later, probably to say it is not happy. I think it is waiting for an feedback it doesn't have.
Sorry for my english BTW!