libusb-1.0
Public Attributes | List of all members
libusb_bos_descriptor Struct Reference

#include <libusb.h>

Collaboration diagram for libusb_bos_descriptor:
Collaboration graph
[legend]

Public Attributes

uint8_t bLength
 
uint8_t bDescriptorType
 
uint16_t wTotalLength
 
uint8_t bNumDeviceCaps
 
struct libusb_bos_dev_capability_descriptordev_capability [ZERO_SIZED_ARRAY]
 

Detailed Description

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.

Member Data Documentation

◆ bDescriptorType

uint8_t libusb_bos_descriptor::bDescriptorType

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

◆ bLength

uint8_t libusb_bos_descriptor::bLength

Size of this descriptor (in bytes)

◆ bNumDeviceCaps

uint8_t libusb_bos_descriptor::bNumDeviceCaps

The number of separate device capability descriptors in the BOS

◆ dev_capability

struct libusb_bos_dev_capability_descriptor* libusb_bos_descriptor::dev_capability[ZERO_SIZED_ARRAY]

bNumDeviceCap Device Capability Descriptors

◆ wTotalLength

uint16_t libusb_bos_descriptor::wTotalLength

Length of this descriptor and all of its sub descriptors


The documentation for this struct was generated from the following file: