You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i’m having trouble using USB Host Shield 2.0 on a barcode scanner. The barcode when reading the code, does not output in the Serial Monitor and after that is stay in a dead state (It cant trigger), coming back to read new codes after a few seconds (after two another configurations). I’m using USBHIDBootKbd and the arduino Uno connected to a power in 12v.
From what I’ve been debugging the lib and the Task method of USB class, when a code is read, the HIRQ (CONDETIRQ) detects that the device has been disconnected generating a SE0. Then the device is reconfigured and I can read another code after two configurations.
It may be that reading the code is still being made when the HIRQ register is read?
By their experience the USBHIDBootkbd can be used in this barcode scanner with this HID_Desc or I’ll have to write a HID report parsing?
In the USB_desc my class, subclass and protocol are 3, 1, 1. Following the output of USBHID_desc
Hi,
i’m having trouble using USB Host Shield 2.0 on a barcode scanner. The barcode when reading the code, does not output in the Serial Monitor and after that is stay in a dead state (It cant trigger), coming back to read new codes after a few seconds (after two another configurations). I’m using USBHIDBootKbd and the arduino Uno connected to a power in 12v.
From what I’ve been debugging the lib and the Task method of USB class, when a code is read, the HIRQ (CONDETIRQ) detects that the device has been disconnected generating a SE0. Then the device is reconfigured and I can read another code after two configurations.
It may be that reading the code is still being made when the HIRQ register is read?
By their experience the USBHIDBootkbd can be used in this barcode scanner with this HID_Desc or I’ll have to write a HID report parsing?
In the USB_desc my class, subclass and protocol are 3, 1, 1. Following the output of USBHID_desc
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
Usage Min(00)
Usage Max(FF)
Logical Min(00)
Logical Max(FF)
Report Count(01)
Report Size(08)
Input(00000010)
Usage Min(00)
Usage Max(FF)
Logical Min(00)
Logical Max(FF)
Report Count(01)
Report Size(08)
Output(00000010)
End Collection
Thanks for help me.
The text was updated successfully, but these errors were encountered: