This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

Binary Device Object Store (BOS) support API

API reference

group usb_bos

USB Binary Device Object Store support.

Enums

enum usb_bos_capability_types

Device capability type codes.

Values:

enumerator USB_BOS_CAPABILITY_EXTENSION = 0x02
enumerator USB_BOS_CAPABILITY_PLATFORM = 0x05
struct usb_bos_descriptor
#include <bos.h>

Root BOS Descriptor.

struct usb_bos_capability_lpm
#include <bos.h>

BOS USB 2.0 extension capability descriptor.

struct usb_bos_platform_descriptor
#include <bos.h>

BOS platform capability descriptor.

struct usb_bos_capability_webusb
#include <bos.h>

WebUSB specific part of platform capability descriptor.

struct usb_bos_capability_msos
#include <bos.h>

Microsoft OS 2.0 descriptor specific part of platform capability descriptor.