SuperSpeed USB 3.0 增加兩個新的 descriptors, 用來儲存 technology 及 device function 的特定資訊.
Binary device Object Store (BOS)
BOS descriptor 作為一個或是更多的 device capability descriptor 的基礎的 descriptor, 提供特定的能力和技術的資訊.所有的 SuperSpeed USB 3.0 設備都必需支援這一個 descriptor, 並且在 high speed 運行時, 支援 Link Power Management (LPM).
Offset | Field | Size | Value | Description | |
0 | bLength | 1 | Number | Size of Descriptor in bytes | 0x05 |
1 | bDescriptorType | 1 | Constant | BOS Descriptor | 0x0F |
2 | wTotalLength | 2 | Number | The number of bytes in this descriptor and all of its subordinate descriptors | include all sub desceiptors |
4 | bNumDeviceCaps | 1 | Number | The number of device capability descriptors subordinate to this BOS descriptor. |
Device Capability Descriptor
Device Capability Descriptor 描述各不同 Device 的 capabilityOffset | Field | Size | Value | Description | |
0 | bLength | 1 | Number | Size of Descriptor in bytes | |
1 | bDescriptorType | 1 | Constant | DevCapability Descriptor | 0x10 |
2 | bDevCapabilityType | 1 | Number | Device Capability Type | |
3 | Capability-Dependent | Var | Variable | Capability-specific data and format |
Device Capability Types Codes
Capability Code | Value | Descriptor |
Wireless_USB | 01H | Defines the set of Wireless USB-specific device level capabilities |
USB 2.0 Extension | 02H | USB 2.0 Extension Descriptor |
SUPERSPEED_USB | 03H | Defines the set of SuperSpeed USB specific device level capabilities |
CONTAINER_ID | 04H | Defines the instance unique ID used to identify the instance across all operating modes |
PLATFORM | 05H | Defines a device capability specific to a particular platform/operating system |
POWER_DELIVERY_CAPABILITY | 06H | Defines the various PD Capabilities of this device |
BATTERY_INFO_CAPABILITY | 07H | Provides information on each battery supported by the device |
PD_CONSUMER_PORT_CAPABILITY | 08H | The consumer characteristics of a port on the device |
PD_PROVIDER_PORT_CAPABILITY | 09H | The provider characteristics of a port on the device |
SUPERSPEED_PLUS | 0AH | Defines the set of SuperSpeed Plus USB specific device level capabilities |
PRECISION_TIME_MEASUREMENT | 0BH | Precision Time Measurement (PTM) Capability Descriptor |
Wireless_USB_Ext | 0CH | Defines the set of Wireless USB 1.1-specific device level capabilities |
Reserved | 00H, 0DH~FFH | Reserved for future use |
沒有留言:
張貼留言
請提供您寶貴的意見