-
Notifications
You must be signed in to change notification settings - Fork 19
Support multiple CustomHID interfaces with CompositeBuilder #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @XelaRellum, Thank you for this report. We will get back to you as soon as we analyze it further. This may take some time. Thank you for your comprehension. With Regards, |
Hi @XelaRellum, Please excuse this delayed reply. Regarding the size of the report descriptor, I see this line in the Structure member Maybe the report size could be defined there, in the frame of the setup request? Doing so, the size would be any value chosen at application level, and not necessarily the one defined by With regards, |
ST Internal Reference: 173362 |
Hi again, Proposal forwarded to our development teams. With regards, |
Hi @XelaRellum, You request has finally been considered in version 2.11.4 of the library, which has just been released. Below are some code snippets: stm32-mw-usb-device/Class/CompositeBuilder/Src/usbd_composite_builder.c Lines 1396 to 1400 in 2a0a352
stm32-mw-usb-device/Class/CustomHID/Inc/usbd_customhid.h Lines 106 to 108 in 2a0a352
Thank you for your patience and thank you again for your proposal. With regards, |
Right now there is one report descriptor size for all CustomHID interfaces, defined with
USBD_CUSTOM_HID_REPORT_DESC_SIZE
.To adress this, the structure
USBD_CUSTOM_HID_ItfTypeDef
should contain a field with the actual report descriptor size.The text was updated successfully, but these errors were encountered: