STM32 VCP CDC 描述符
本文地址:http://txm.tongxinmao.com/Article/Detail/id/243
=========================== USB Port6 ===========================
Connection Status : 0x01 (Device is connected)
Port Chain : 1-6
======================== USB Device ========================
+++++++++++++++++ Device Information ++++++++++++++++++
Device Description : USB Composite Device
Device Path : \\.\usb#vid_0e8d&pid_201d#621qacqc398nw#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Device ID : USB\VID_0E8D&PID_201D\621QACQC398NW
Hardware IDs : USB\VID_0E8D&PID_201D&REV_FFFF USB\VID_0E8D&PID_201D
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0071 (GUID_DEVCLASS_USB)
Driver : C:\Windows\system32\DRIVERS\usbccgp.sys (Version: 6.1.7601.18328 Date: 2016-05-01)
Driver Inf : C:\Windows\inf\usb.inf
Legacy BusType : PNPBus
Class : USB
Class GUID : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Interface GUID : {a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Service : usbccgp
Enumerator : USB
Location Info : Port_#0006.Hub_#0001
Container ID : {5c154483-2804-54e8-b5b2-ef2aeb38a09d}
Manufacturer Info : (标准 USB 主控制器)
Capabilities : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
Problem Code : 0
Address : 6
Power State : D0 (supported: D0, D3, wake from D0)
Child Device 1 : Android Composite ADB Interface
Device ID : USB\VID_0E8D&PID_201D&MI_01\6&2C951950&0&0001
Class : AndroidUsbDeviceClass
Child Device 2 : M5 Note
Device ID : USB\VID_0E8D&PID_201D&MI_00\6&2C951950&0&0000
Class : WPD
---------------- Connection Information ---------------
Connection Index : 0x06 (6)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01
Device Address : 0x2B (43)
Is Hub : 0x00 (no)
Number Of Open Pipes : 0x05 (5)
Device Bus Speed : 0x02 (High-Speed)
Pipe0ScheduleOffset : 0x00 (0)
Pipe1ScheduleOffset : 0x00 (0)
Pipe2ScheduleOffset : 0x00 (0)
Pipe3ScheduleOffset : 0x00 (0)
Pipe4ScheduleOffset : 0x00 (0)
Data (HexDump) : 06 00 00 00 12 01 10 02 00 00 00 40 8D 0E 1D 20 ...........@...
FF FF 03 04 05 01 01 02 00 2B 00 05 00 00 00 01 .........+......
00 00 00 07 05 81 02 00 02 00 00 00 00 00 07 05 ................
01 02 00 02 00 00 00 00 00 07 05 82 03 1C 00 06 ................
00 00 00 00 07 05 02 02 00 02 00 00 00 00 00 07 ................
05 83 02 00 02 00 00 00 00 00 ..........
---------------------- Device Descriptor ----------------------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB : 0x210 (USB Version 2.10)
bDeviceClass : 0x00 (defined by the interface descriptors)
bDeviceSubClass : 0x00
bDeviceProtocol : 0x00
bMaxPacketSize0 : 0x40 (64 bytes)
idVendor : 0x0E8D (MediaTek Inc.)
idProduct : 0x201D
bcdDevice : 0xFFFF
iManufacturer : 0x03 (String Descriptor 3)
Language 0x0409 : "MediaTek"
iProduct : 0x04 (String Descriptor 4)
Language 0x0409 : "M5 Note"
iSerialNumber : 0x05 (String Descriptor 5)
Language 0x0409 : "621QACQC398NW"
bNumConfigurations : 0x01 (1 Configuration)
Data (HexDump) : 12 01 10 02 00 00 00 40 8D 0E 1D 20 FF FF 03 04 .......@... ....
05 01 ..
------------------ Configuration Descriptor -------------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x003E (62 bytes)
bNumInterfaces : 0x02 (2 Interfaces)
bConfigurationValue : 0x01 (Configuration 1)
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0xC0
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x01 (yes)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0xFA (500 mA)
Data (HexDump) : 09 02 3E 00 02 01 00 C0 FA 09 04 00 00 03 FF FF ..>.............
00 11 07 05 81 02 00 02 00 07 05 01 02 00 02 00 ................
07 05 82 03 1C 00 06 09 04 01 00 02 FF 42 01 12 .............B..
07 05 02 02 00 02 00 07 05 83 02 00 02 00 ..............
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00
bAlternateSetting : 0x00
bNumEndpoints : 0x03 (3 Endpoints)
bInterfaceClass : 0xFF (Vendor Specific)
bInterfaceSubClass : 0xFF
bInterfaceProtocol : 0x00
iInterface : 0x11 (String Descriptor 17)
Language 0x0409 : "MTP"
Data (HexDump) : 09 04 00 00 03 FF FF 00 11 .........
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0200 (max 512 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 81 02 00 02 00 .......
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x01 (Direction=OUT EndpointID=1)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0200 (max 512 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 01 02 00 02 00 .......
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x001C
Bits 15..13 : 0x00 (reserved, must be zero)
Bits 12..11 : 0x00 (0 additional transactions per microframe -> allows 1..1024 bytes per packet)
Bits 10..0 : 0x1C (28 bytes per packet)
bInterval : 0x06 (6 ms)
Data (HexDump) : 07 05 82 03 1C 00 06 .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x01
bAlternateSetting : 0x00
bNumEndpoints : 0x02 (2 Endpoints)
bInterfaceClass : 0xFF (Vendor Specific)
bInterfaceSubClass : 0x42
bInterfaceProtocol : 0x01
iInterface : 0x12 (String Descriptor 18)
Language 0x0409 : "ADB Interface"
Data (HexDump) : 09 04 01 00 02 FF 42 01 12 ......B..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x02 (Direction=OUT EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0200 (max 512 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 02 02 00 02 00 .......
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x83 (Direction=IN EndpointID=3)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0200 (max 512 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 83 02 00 02 00 .......
----------------- Device Qualifier Descriptor -----------------
bLength : 0x0A (10 bytes)
bDescriptorType : 0x06 (Device_qualifier Descriptor)
bcdUSB : 0x210 (USB Version 2.10)
bDeviceClass : 0x00 (defined by the interface descriptors)
bDeviceSubClass : 0x00
bDeviceProtocol : 0x00
bMaxPacketSize0 : 0x40 (64 Bytes)
bNumConfigurations : 0x01 (1 other-speed configuration)
bReserved : 0x00
------------ Other Speed Configuration Descriptor -------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x07 (Other_speed_configuration Descriptor)
wTotalLength : 0x003E (62 bytes)
bNumInterfaces : 0x02 (2 Interfaces)
bConfigurationValue : 0x01 (Configuration 1)
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0xC0
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x01 (yes)
D5: Remote Wakeup : 0x00 (no)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0xFA (500 mA)
Data (HexDump) : 09 07 3E 00 02 01 00 C0 FA 09 04 00 00 03 FF FF ..>.............
00 11 07 05 81 02 40 00 00 07 05 01 02 40 00 00 ......@......@..
07 05 82 03 1C 00 06 09 04 01 00 02 FF 42 01 12 .............B..
07 05 02 02 40 00 00 07 05 83 02 40 00 00 ....@......@..
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00
bAlternateSetting : 0x00
bNumEndpoints : 0x03 (3 Endpoints)
bInterfaceClass : 0xFF (Vendor Specific)
bInterfaceSubClass : 0xFF
bInterfaceProtocol : 0x00
iInterface : 0x11 (String Descriptor 17)
Language 0x0409 : "MTP"
Data (HexDump) : 09 04 00 00 03 FF FF 00 11 .........
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (max 64 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 81 02 40 00 00 ....@..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x01 (Direction=OUT EndpointID=1)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (max 64 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 01 02 40 00 00 ....@..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x82 (Direction=IN EndpointID=2)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x001C
Bits 15..13 : 0x00 (reserved, must be zero)
Bits 12..11 : 0x00 (0 additional transactions per microframe -> allows 1..1024 bytes per packet)
Bits 10..0 : 0x1C (28 bytes per packet)
bInterval : 0x06 (6 ms)
Data (HexDump) : 07 05 82 03 1C 00 06 .......
---------------- Interface Descriptor -----------------
bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x01
bAlternateSetting : 0x00
bNumEndpoints : 0x02 (2 Endpoints)
bInterfaceClass : 0xFF (Vendor Specific)
bInterfaceSubClass : 0x42
bInterfaceProtocol : 0x01
iInterface : 0x12 (String Descriptor 18)
Language 0x0409 : "ADB Interface"
Data (HexDump) : 09 04 01 00 02 FF 42 01 12 ......B..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x02 (Direction=OUT EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (max 64 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 02 02 40 00 00 ....@..
----------------- Endpoint Descriptor -----------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x83 (Direction=IN EndpointID=3)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (max 64 bytes)
bInterval : 0x00 (never NAKs)
Data (HexDump) : 07 05 83 02 40 00 00 ....@..
---------- Binary Object Store (BOS) Descriptor -----------
bLength : 0x05 (5 bytes)
bDescriptorType : 0x0F (Binary Object Store)
wTotalLength : 0x0016 (22 bytes)
bNumDeviceCaps : 0x02
Data (HexDump) : 05 0F 16 00 02 .....
------------- USB 2.0 Extension Descriptor ------------
bLength : 0x07 (7 bytes)
bDescriptorType : 0x10 (Device Capability Descriptor)
bDevCapabilityType : 0x02 (USB 2.0 Extension)
bmAttributes : 0x02
LPMCapable : 1 (Link Power Management protocol is supported)
BESLAndAlternateHIRD : 0 (BESL & Alternate HIRD definitions are not supported)
BaselineBESLValid : 0 (not valid)
DeepBESLValid : 0 (not valid)
BaselineBESL : 0
DeepBESL : 0
Data (HexDump) : 07 10 02 02 00 00 00 .......
----- SuperSpeed USB Device Capability Descriptor -----
bLength : 0x0A (10 bytes)
bDescriptorType : 0x10 (Device Capability Descriptor)
bDevCapabilityType : 0x03 (SuperSpeed USB Device Capability)
bmAttributes : 0x00
Bit 0 Reserved : 0x00
Bit 1 LTM Capable : 0x00 (no)
Bit 7:2 Reserved : 0x00
wSpeedsSupported : 0x0F (Low-Speed, Full-Speed, High-Speed, SuperSpeed)
bFunctionalitySupport : 0x01 (lowest speed with all the functionality is 'Full-Speed')
bU1DevExitLat : 0x01 (less than 1 us)
wU2DevExitLat : 0x01F4 (less than 500 us)
Data (HexDump) : 0A 10 03 00 0F 00 01 01 F4 01 ..........
-------------------- String Descriptors -------------------
------ String Descriptor 0 ------
bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
Data (HexDump) : 04 03 09 04 ....
------ String Descriptor 1 ------
bLength : 0x1A (26 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Mass Storage"
Data (HexDump) : 1A 03 4D 00 61 00 73 00 73 00 20 00 53 00 74 00 ..M.a.s.s. .S.t.
6F 00 72 00 61 00 67 00 65 00 o.r.a.g.e.
------ String Descriptor 2 ------
bLength : 0x02 (2 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "" *!*CAUTION zero length
Data (HexDump) : 02 03 ..
------ String Descriptor 3 ------
bLength : 0x12 (18 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "MediaTek"
Data (HexDump) : 12 03 4D 00 65 00 64 00 69 00 61 00 54 00 65 00 ..M.e.d.i.a.T.e.
6B 00 k.
------ String Descriptor 4 ------
bLength : 0x10 (16 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "M5 Note"
Data (HexDump) : 10 03 4D 00 35 00 20 00 4E 00 6F 00 74 00 65 00 ..M.5. .N.o.t.e.
------ String Descriptor 5 ------
bLength : 0x1C (28 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "621QACQC398NW"
Data (HexDump) : 1C 03 36 00 32 00 31 00 51 00 41 00 43 00 51 00 ..6.2.1.Q.A.C.Q.
43 00 33 00 39 00 38 00 4E 00 57 00 C.3.9.8.N.W.
------ String Descriptor 17 ------
bLength : 0x08 (8 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "MTP"
Data (HexDump) : 08 03 4D 00 54 00 50 00 ..M.T.P.
------ String Descriptor 18 ------
bLength : 0x1C (28 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "ADB Interface"
Data (HexDump) : 1C 03 41 00 44 00 42 00 20 00 49 00 6E 00 74 00 ..A.D.B. .I.n.t.
65 00 72 00 66 00 61 00 63 00 65 00 e.r.f.a.c.e.
-- MSFT String Descriptor 0xEE --
bLength : 0x12 (18 bytes)
bDescriptorType : 0x03 (String Descriptor)
qwSignature Lang 0x0409 : "MSFT100"
bMS_VendorCode : 0x01
bPad : 0x00
Data (HexDump) : 12 03 4D 00 53 00 46 00 54 00 31 00 30 00 30 00 ..M.S.F.T.1.0.0.
01 00 ..上一篇:Wireshark过滤表达式大全
下一篇:FT2232H 双USB串口 描述符