libusb_bos_dev_capability_descriptor Struct Reference
[USB descriptors]

A generic representation of a BOS Device Capability descriptor. More...

#include <libusb.h>


Data Fields

uint8_t bLength
 Size of this descriptor (in bytes).
uint8_t bDescriptorType
 Descriptor type.
uint8_t bDevCapabilityType
 Device Capability type.
uint8_t dev_capability_data [0]
 Device Capability data (bLength - 3 bytes).


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.


Field Documentation

Descriptor type.

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


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

Generated on Thu Jan 30 21:41:41 2014 by  doxygen 1.5.6