[Help] USB HID Compliant Device Interface with USB Host Shield

Hi,

I am working on a hobby project. I want to interface a USB device with arduino using USB host shield. Its a HID compliant Device. I am having hard time in understanding HID protocol. I have worked with mouse and keyboard with arduino but this device is different.

I have tested using USBHID_desc example and this is the Serial Output

Start 0000: 05 01 09 09 A1 01 05 01 09 33 09 34 09 35 09 36 0010: 09 37 09 38 09 39 09 43 15 00 25 FF 75 08 95 08 0020: 81 02 09 33 09 34 09 35 09 36 09 37 09 38 09 39 0030: 09 43 15 00 25 FF 75 08 95 08 91 02 C0 Usage Page Gen Desktop Ctrls(01) Usage Bar Code Scan Collection Application Usage Page Gen Desktop Ctrls(01) Usage Rx Usage Ry Usage Rz Usage Slider Usage Dial Usage Wheel Usage Hat Switch Usage Vbrx Logical Min(00) Logical Max(FF) Report Size(08) Report Count(08) Input(00000010) Usage Rx Usage Ry Usage Rz Usage Slider Usage Dial Usage Wheel Usage Hat Switch Usage Vbrx Logical Min(00) Logical Max(FF) Report Size(08) Report Count(08) Output(00000010) End Collection Bar Code Scan Rx Ry Rz Slider Dial Wheel Hat Switch Vbrx(AA)(03)(00)(08)(0B)(00)(00)(00) Rx Ry Rz Slider Dial Wheel Hat Switch Vbrx

and when I test it with USD_desc example this is output.

Start

01

Device descriptor: Descriptor Length: 12 Descriptor type: 01 USB version: 0100 Device class: 00 Device Subclass: 00 Device Protocol: 00 Max.packet size: 08 Vendor ID: 04E8 Product ID: 6012 Revision ID: 0200 Mfg.string index: 01 Prod.string index: 02 Serial number index: 00 Number of conf.: 01

Configuration descriptor: Total length: 0029 Num.intf: 01 Conf.value: 01 Conf.string: 00 Attr.: A0 Max.pwr: 0F

Interface descriptor: Intf.number: 00 Alt.: 00 Endpoints: 02 Intf. Class: 03 Intf. Subclass: 01 Intf. Protocol: 02 Intf.string: 00 Unknown descriptor: Length: 09 Type: 21 Contents: 00010001223D000705

Endpoint descriptor: Endpoint address: 81 Attr.: 03 Max.pkt size: 0008 Polling interval: 0A

Endpoint descriptor: Endpoint address: 02 Attr.: 03 Max.pkt size: 0008 Polling interval: 0A

Addr:1(0.0.1)

I hope to get help from this forum.

Thanks