search for: libusb_config_descriptor

Displaying 4 results from an estimated 4 matches for "libusb_config_descriptor".

2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...y brief reading about USB it appears to me that the "tree" of descriptors is like this: - A device descriptor has one or more configuration descriptors (bNumConfigurations in libusb_device_descriptor) - Each configuration descriptor has one or more interface descriptors (bNumInterfaces in libusb_config_descriptor) - Each interface descriptor has one or more endpoint descriptors I've done just enough reading to think that while it is rare to have more than one interface, it is even more rare to have more than one configuration. A multi-interface composite device will often still have one configuration (...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...it appears to me that the "tree" of > descriptors is like this: > - A device descriptor has one or more configuration descriptors > (bNumConfigurations in libusb_device_descriptor) > - Each configuration descriptor has one or more interface descriptors > (bNumInterfaces in libusb_config_descriptor) > - Each interface descriptor has one or more endpoint descriptors > > I've done just enough reading to think that while it is rare to have more > than one interface, it is even more rare to have more than one > configuration. A multi-interface composite device will often still...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...at the "tree" of >> descriptors is like this: >> - A device descriptor has one or more configuration descriptors >> (bNumConfigurations in libusb_device_descriptor) >> - Each configuration descriptor has one or more interface descriptors >> (bNumInterfaces in libusb_config_descriptor) >> - Each interface descriptor has one or more endpoint descriptors >> >> I've done just enough reading to think that while it is rare to have more >> than one interface, it is even more rare to have more than one >> configuration. A multi-interface composite devi...
2023 Nov 05
1
Passing hid_rep_index to libusb_get_config_descriptor is wrong?
...ot; of >>> descriptors is like this: >>> - A device descriptor has one or more configuration descriptors >>> (bNumConfigurations in libusb_device_descriptor) >>> - Each configuration descriptor has one or more interface descriptors >>> (bNumInterfaces in libusb_config_descriptor) >>> - Each interface descriptor has one or more endpoint descriptors >>> >>> I've done just enough reading to think that while it is rare to have >>> more than one interface, it is even more rare to have more than one >>> configuration. A multi-inte...