Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usb_bos_capability_webusb Struct Reference

WebUSB specific part of platform capability descriptor. More...

#include <zephyr/usb/bos.h>

Data Fields

uint16_t bcdVersion
 WebUSB specification version in BCD format (e.g., 0x0100).
uint8_t bVendorCode
 Vendor-specific request code used by the host to retrieve WebUSB descriptors.
uint8_t iLandingPage
 Index of the landing page string descriptor.

Detailed Description

WebUSB specific part of platform capability descriptor.

Defines the WebUSB-specific fields that extend the generic platform capability descriptor.

Field Documentation

◆ bcdVersion

uint16_t usb_bos_capability_webusb::bcdVersion

WebUSB specification version in BCD format (e.g., 0x0100).

◆ bVendorCode

uint8_t usb_bos_capability_webusb::bVendorCode

Vendor-specific request code used by the host to retrieve WebUSB descriptors.

◆ iLandingPage

uint8_t usb_bos_capability_webusb::iLandingPage

Index of the landing page string descriptor.

Zero means no landing page is defined.


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