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 |
Referenced by uhc_enumeration_step17_lpm(), and uhc_enumeration_step18_lpm().
uint8_t usb_dev_bos_desc_t::bLength |
uint8_t usb_dev_bos_desc_t::bNumDeviceCaps |
Referenced by uhc_enumeration_step18_lpm().
le16_t usb_dev_bos_desc_t::wTotalLength |
Referenced by udc_req_std_dev_get_descriptor(), uhc_enumeration_step17_lpm(), and uhc_enumeration_step18_lpm().