libusb_bos_dev_capability_descriptor

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.

Members

Variables

bDescriptorType
ubyte bDescriptorType;

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

bDevCapabilityType
ubyte bDevCapabilityType;

Device Capability type

bLength
ubyte bLength;

Size of this descriptor (in bytes)

dev_capability_data
ubyte[] dev_capability_data;

Device Capability data (bLength - 3 bytes)

Meta