libusb_bos_descriptor is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

libusb_bos_descriptor struct

A structure representing the Binary Device Object Store (BOS) descriptor. This descriptor is documented in section 9.6.2 of the USB 3.0 specification. All multiple-byte fields are represented in host-endian format.

Syntax

struct libusb_bos_descriptor {     uint8_t  bLength;     uint8_t  bDescriptorType;     uint16_t wTotalLength;     uint8_t  bNumDeviceCaps;     struct libusb_bos_dev_capability_descriptor *dev_capability[LIBUSB_FLEXIBLE_ARRAY]; };

Fields

bLength

Size of this descriptor (in bytes). Read more...

bDescriptorType

Descriptor type. Will have value libusb_descriptor_type ::LIBUSB_DT_BOS LIBUSB_DT_BOS in this context. Read more...

wTotalLength

Length of this descriptor and all of its sub descriptors. Read more...

bNumDeviceCaps

The number of separate device capability descriptors in the BOS. Read more...

dev_capability

bNumDeviceCap Device Capability Descriptors. Read more...

References

LocationReferrerScopeText
libusb.h:895
struct libusb_bos_descriptor {
libusb.h:1614libusb_get_bos_descriptor()::boslibusb_get_bos_descriptor()
struct libusb_bos_descriptor **bos);
libusb.h:1615libusb_free_bos_descriptor()::boslibusb_free_bos_descriptor()
void LIBUSB_CALL libusb_free_bos_descriptor(struct libusb_bos_descriptor *bos);

Type Use

Variables of libusb_bos_descriptor type
libusb_get_bos_descriptor()::bos
libusb_free_bos_descriptor()::bos
all items filtered out
libusb_bos_descriptor