Skip to content

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

Open
forderud wants to merge 1 commit intoPaulStoffregen:masterfrom
forderud:composite-doc
Open

[USB] Document composite device with IAD class/subclass/protocol#761
forderud wants to merge 1 commit intoPaulStoffregen:masterfrom
forderud:composite-doc

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