USB HID Get Report Descriptor failing.
Hi, I am building a simple USB HID host with the P24FJ64GB002 and apparently I am not capable of reading in the device's HID Report Descriptor. All other descriptors give no problem, including the configuration descriptor which includes the HID descriptor which states a report descriptor size of 54dec (36 hex).
This is the USB setup command I use:
81 = STD_INTERFACE_TO HOST
06 = GET_DESCRIPTOR
22 = REPORT_DESCRIPTOR
36 = Report length.
Every time I issue that setup command with a read afterwards (exactly as I do with other descriptors) the nr of returned bytes is zero...
Anyone an idea?
Thanks in advance!