This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nrf24lu1p USB hid ReportDescriptor size greater than 255

I want write nrf24lu1p usb hid mouse, but ReportDescriptor size greater than 255bytes Cause cannot enumerate.

Parents
  • Hi

    You might be able to change the hid_report_desc_size field to a uint16_t and make it work, but you will have to make additional changes to all the code that uses this field.

    With USB you can also some times run into endianness issues, where 16-bit values (or larger) need to be swapped. The reason for this is that the Keil C51 compiler uses big endian values, while USB uses little endian values.

    Best regards

Reply
  • Hi

    You might be able to change the hid_report_desc_size field to a uint16_t and make it work, but you will have to make additional changes to all the code that uses this field.

    With USB you can also some times run into endianness issues, where 16-bit values (or larger) need to be swapped. The reason for this is that the Keil C51 compiler uses big endian values, while USB uses little endian values.

    Best regards

Children
Related