libusb  1.0.27
A cross-platform user library to access USB devices
Data Fields
libusb_platform_descriptor Struct Reference

A structure representing a Platform descriptor. More...

#include <libusb.h>

Data Fields

uint8_t bLength
 Size of this descriptor (in bytes)
 
uint8_t bDescriptorType
 Descriptor type. More...
 
uint8_t bDevCapabilityType
 Capability type. More...
 
uint8_t bReserved
 Reserved field.
 
uint8_t PlatformCapabilityUUID [16]
 128 bit UUID
 
uint8_t CapabilityData [LIBUSB_FLEXIBLE_ARRAY]
 Capability data (bLength - 20)
 

Detailed Description

A structure representing a Platform descriptor.

This descriptor is documented in section 9.6.2.4 of the USB 3.2 specification.

Field Documentation

◆ bDescriptorType

uint8_t libusb_platform_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_platform_descriptor::bDevCapabilityType

Capability type.

Will have value libusb_capability_type::LIBUSB_BT_PLATFORM_DESCRIPTOR LIBUSB_BT_CONTAINER_ID in this context.


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