Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bos.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Intel Corporation
3 * Copyright (c) 2023 Nordic Semiconductor ASA
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
14#ifndef ZEPHYR_INCLUDE_USB_BOS_H_
15#define ZEPHYR_INCLUDE_USB_BOS_H_
16
17#include <stdint.h>
18
42
50
72
90
110
129
134#endif /* ZEPHYR_INCLUDE_USB_BOS_H_ */
usb_bos_capability_types
Device capability type codes.
Definition bos.h:44
@ USB_BOS_CAPABILITY_EXTENSION
USB 2.0 Extension capability.
Definition bos.h:46
@ USB_BOS_CAPABILITY_PLATFORM
Platform-specific capability (e.g., WebUSB, MS OS).
Definition bos.h:48
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
BOS USB 2.0 extension capability descriptor.
Definition bos.h:57
uint8_t bLength
Size of this descriptor in bytes.
Definition bos.h:59
uint8_t bDevCapabilityType
Device capability type.
Definition bos.h:65
uint8_t bDescriptorType
Descriptor type.
Definition bos.h:62
uint32_t bmAttributes
Bitmap of supported attributes.
Definition bos.h:70
Microsoft OS 2.0 descriptor specific part of platform capability descriptor.
Definition bos.h:117
uint8_t bAltEnumCode
Alternate enumeration code (or 0 if not used).
Definition bos.h:127
uint8_t bMS_VendorCode
Vendor-specific request code used to retrieve the MS OS 2.0 descriptor set.
Definition bos.h:125
uint32_t dwWindowsVersion
Windows version supported (e.g., 0x0A000000UL for Windows 10).
Definition bos.h:119
uint16_t wMSOSDescriptorSetTotalLength
Total length of the MS OS 2.0 descriptor set.
Definition bos.h:121
WebUSB specific part of platform capability descriptor.
Definition bos.h:96
uint8_t iLandingPage
Index of the landing page string descriptor.
Definition bos.h:108
uint16_t bcdVersion
WebUSB specification version in BCD format (e.g., 0x0100).
Definition bos.h:98
uint8_t bVendorCode
Vendor-specific request code used by the host to retrieve WebUSB descriptors.
Definition bos.h:102
Root BOS Descriptor.
Definition bos.h:29
uint8_t bNumDeviceCaps
Number of device capability descriptors that follow.
Definition bos.h:40
uint8_t bLength
Size of this descriptor in bytes (5).
Definition bos.h:31
uint16_t wTotalLength
Total length of this descriptor and all associated device capability descriptors.
Definition bos.h:38
uint8_t bDescriptorType
Descriptor type.
Definition bos.h:33
BOS platform capability descriptor.
Definition bos.h:78
uint8_t PlatformCapabilityUUID[16]
Platform capability UUID (16 bytes, little-endian).
Definition bos.h:88
uint8_t bDescriptorType
Descriptor type.
Definition bos.h:82
uint8_t bReserved
Reserved (must be zero).
Definition bos.h:86
uint8_t bLength
Size of this descriptor in bytes (20).
Definition bos.h:80
uint8_t bDevCapabilityType
Device capability type.
Definition bos.h:84