Skip to content
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

CustomHID: support different report descriptor sizes, fixes #15 #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XelaRellum
Copy link

Right now if you have more than 1 CustomHID interface, all interfaces have report descriptors of the same size.

Support different sizes by adding an entry to USBD_CUSTOM_HID_ItfTypeDef. The default is USBD_CUSTOM_HID_REPORT_DESC_SIZE, so this is backwards compatible.

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

  • The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
  • If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.

Right now if you have more than 1 CustomHID interface, all interfaces
have report descriptors of the same size.

Support different sizes by adding an entry to USBD_CUSTOM_HID_ItfTypeDef.
The default is USBD_CUSTOM_HID_REPORT_DESC_SIZE, so this is backwards
compatible.
@TOUNSTM
Copy link

TOUNSTM commented Oct 3, 2023

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,

@TOUNSTM TOUNSTM added the mw Middleware-related issue or pull-request. label Oct 3, 2023
@ALABSTM ALABSTM linked an issue Oct 13, 2023 that may be closed by this pull request
@ALABSTM ALABSTM added enhancement New feature or request usb USB-related (host or device) issue or pull-request labels Oct 13, 2023
@ALABSTM
Copy link
Collaborator

ALABSTM commented Feb 13, 2024

ST Internal Reference: 173362

@ALABSTM ALABSTM added the internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request internal bug tracker Issue confirmed and reported into a ticket in the internal bug tracking system mw Middleware-related issue or pull-request. usb USB-related (host or device) issue or pull-request
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

Support multiple CustomHID interfaces with CompositeBuilder
4 participants