Microchip® Advanced Software Framework

usb_dev_bos_desc_t Struct Reference

USB Device BOS descriptor structure.

The BOS descriptor (Binary device Object Store) defines a root descriptor that is similar to the configuration descriptor, and is the base descriptor for accessing a family of related descriptors. A host can read a BOS descriptor and learn from the wTotalLength field the entire size of the device-level descriptor set, or it can read in the entire BOS descriptor set of device capabilities. The host accesses this descriptor using the GetDescriptor() request. The descriptor type in the GetDescriptor() request is set to BOS.

#include <usb_protocol.h>

Data Fields

uint8_t bDescriptorType
 
uint8_t bLength
 
uint8_t bNumDeviceCaps
 
le16_t wTotalLength
 

uint8_t usb_dev_bos_desc_t::bDescriptorType
uint8_t usb_dev_bos_desc_t::bLength
uint8_t usb_dev_bos_desc_t::bNumDeviceCaps
le16_t usb_dev_bos_desc_t::wTotalLength