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

#include <libusb.h>

Public Attributes

uint8_t bLength
 
uint8_t bDescriptorType
 
uint8_t bDevCapabilityType
 
uint8_t dev_capability_data [ZERO_SIZED_ARRAY]
 

Detailed Description

A generic representation of a BOS Device Capability descriptor. It is advised to check bDevCapabilityType and call the matching libusb_get_*_descriptor function to get a structure fully matching the type.

Member Data Documentation

◆ bDescriptorType

uint8_t libusb_bos_dev_capability_descriptor::bDescriptorType

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

◆ bDevCapabilityType

uint8_t libusb_bos_dev_capability_descriptor::bDevCapabilityType

Device Capability type

◆ bLength

uint8_t libusb_bos_dev_capability_descriptor::bLength

Size of this descriptor (in bytes)

◆ dev_capability_data

uint8_t libusb_bos_dev_capability_descriptor::dev_capability_data[ZERO_SIZED_ARRAY]

Device Capability data (bLength - 3 bytes)


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