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

    This is a limitation in the nRF24LU1+ USB stack.

    If you take a look at the hal_usb_hid_t struct you can see that the report descriptor size is stored in a uint8_t variable, which means the maximum size is 255.

    typedef struct {
    hal_usb_hid_desc_t* hid_desc;
    uint8_t* hid_report_desc;
    uint8_t hid_report_desc_size;
    } hal_usb_hid_t; 
    

    Best regards
    Torbjørn Øvrebekk

Reply
  • Hi

    This is a limitation in the nRF24LU1+ USB stack.

    If you take a look at the hal_usb_hid_t struct you can see that the report descriptor size is stored in a uint8_t variable, which means the maximum size is 255.

    typedef struct {
    hal_usb_hid_desc_t* hid_desc;
    uint8_t* hid_report_desc;
    uint8_t hid_report_desc_size;
    } hal_usb_hid_t; 
    

    Best regards
    Torbjørn Øvrebekk

Children
Related