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

[USB] Document composite device with IAD class/subclass/protocol #761

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

Conversation

forderud
Copy link

@forderud forderud commented Sep 22, 2024

Document that DEVICE_CLASS=0xEF, DEVICE_SUBCLASS=0x02 & DEVICE_PROTOCOL=0x01 is used to encode a composite device with IAD, since this is not obvious from reading the code.

I can also update the teensy3 implementation the same way if desired.

Documentation: https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-interface-association-descriptor

@forderud forderud changed the title [USB] Document composite device with IAD [USB] Document composite device with IAD class/subclass/protocol Sep 22, 2024
@forderud
Copy link
Author

Maybe if could be an idea to also document that DEVICE_CLASS=0x00, DEVICE_SUBCLASS=0x00 & DEVICE_PROTOCOL=0x00 encodes a composite device without IAD(?)

Document that DEVICE_CLASS=0xEF, DEVICE_SUBCLASS=0x02 & DEVICE_PROTOCOL=0x01 is used to encode a composite device with IAD, since this is not obvious from reading the code.

Documentation: https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-interface-association-descriptor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant