diff options
| author | hathach <[email protected]> | 2019-07-30 00:34:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-07-30 00:34:25 +0700 |
| commit | af3c301ea5152ea4926e005159f4daa894b5df53 (patch) | |
| tree | d3fde63c86a845c0cdd62384e036b180bccc2d07 /src/common | |
| parent | d79a209aefe498f78350ee3e08b96b8e17fda6b1 (diff) | |
added BOS MS OS 2.0 descriptor to webusb example, it work with windows
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_types.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/tusb_types.h b/src/common/tusb_types.h index 2776eaa87..8358d7e66 100644 --- a/src/common/tusb_types.h +++ b/src/common/tusb_types.h @@ -227,6 +227,20 @@ enum INTERFACE_INVALID_NUMBER = 0xff
};
+
+enum
+{
+ MS_OS_20_SET_HEADER_DESCRIPTOR = 0x00,
+ MS_OS_20_SUBSET_HEADER_CONFIGURATION = 0x01,
+ MS_OS_20_SUBSET_HEADER_FUNCTION = 0x02,
+ MS_OS_20_FEATURE_COMPATBLE_ID = 0x03,
+ MS_OS_20_FEATURE_REG_PROPERTY = 0x04,
+ MS_OS_20_FEATURE_MIN_RESUME_TIME = 0x05,
+ MS_OS_20_FEATURE_MODEL_ID = 0x06,
+ MS_OS_20_FEATURE_CCGP_DEVICE = 0x07,
+ MS_OS_20_FEATURE_VENDOR_REVISION = 0x08
+}microsoft_os_20_type_t;
+
//--------------------------------------------------------------------+
// USB Descriptors
//--------------------------------------------------------------------+
|
