第三篇 ME909s-821裝置描述符分析
阿新 • • 發佈:2019-01-10
是不是特別多、特別長,但是以上裝置描述符中,介面描述符不一定都有用。 簡單描述一下裝置描述符的組成,還是用圖片加描述的方式:HUAWEI Mobile V7R11 Manufacturer: Huawei Technologies Co., Ltd. Serial Number: 0123456789ABCDEF Speed: 480Mb/s (high) USB Version: 2.10 Device Class: 00(>ifc ) Device Subclass: 00 Device Protocol: ff Maximum Default Endpoint Size: 64 Number of Configurations: 3 Vendor Id: 12d1 Product Id: 15c1 Revision Number: 1.02 Config Number: 1 Number of Interfaces: 6 Attributes: a0 MaxPower Needed: 2mA Interface Number: 0 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 10 Number of Endpoints: 3 Endpoint Address: 82 Direction: in Attribute: 3 Type: Int. Max Packet Size: 10 Interval: 32ms Endpoint Address: 81 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 01 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 1 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 13 Number of Endpoints: 2 Endpoint Address: 83 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 02 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 2 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 12 Number of Endpoints: 2 Endpoint Address: 84 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 03 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 3 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 16 Number of Endpoints: 1 Endpoint Address: 86 Direction: in Attribute: 3 Type: Int. Max Packet Size: 16 Interval: 2ms Interface Number: 3 Name: Alternate Number: 1 Class: ff(vend.) Sub Class: 06 Protocol: 16 Number of Endpoints: 3 Endpoint Address: 86 Direction: in Attribute: 3 Type: Int. Max Packet Size: 16 Interval: 2ms Endpoint Address: 85 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 04 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 4 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 06 Number of Endpoints: 2 Endpoint Address: 87 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 05 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 5 Name: Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 1b Number of Endpoints: 2 Endpoint Address: 88 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 06 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Config Number: 2 Number of Interfaces: 7 Attributes: a0 MaxPower Needed: 2mA Interface Number: 0 Name: cdc_ether Alternate Number: 0 Class: 02(comm.) Sub Class: 06 Protocol: 00 Number of Endpoints: 1 Endpoint Address: 82 Direction: in Attribute: 3 Type: Int. Max Packet Size: 16 Interval: 2ms Interface Number: 1 Name: cdc_ether Alternate Number: 0 Class: 0a(data ) Sub Class: 06 Protocol: 00 Number of Endpoints: 2 Endpoint Address: 81 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 01 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 2 Name: option Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 10 Number of Endpoints: 3 Endpoint Address: 84 Direction: in Attribute: 3 Type: Int. Max Packet Size: 10 Interval: 32ms Endpoint Address: 83 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 02 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 3 Name: option Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 13 Number of Endpoints: 2 Endpoint Address: 85 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 03 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 4 Name: option Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 12 Number of Endpoints: 2 Endpoint Address: 86 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 04 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 5 Name: option Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 06 Number of Endpoints: 2 Endpoint Address: 87 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 05 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Interface Number: 6 Name: option Alternate Number: 0 Class: ff(vend.) Sub Class: 06 Protocol: 1b Number of Endpoints: 2 Endpoint Address: 88 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 06 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Config Number: 3 Number of Interfaces: 2 Attributes: a0 MaxPower Needed: 2mA Interface Number: 0 Name: Alternate Number: 0 Class: 02(comm.) Sub Class: 0e Protocol: 00 Number of Endpoints: 1 Endpoint Address: 82 Direction: in Attribute: 3 Type: Int. Max Packet Size: 16 Interval: 2ms Interface Number: 1 Name: Alternate Number: 0 Class: 0a(data ) Sub Class: 00 Protocol: 02 Number of Endpoints: 0 Interface Number: 1 Name: Alternate Number: 1 Class: 0a(data ) Sub Class: 00 Protocol: 02 Number of Endpoints: 2 Endpoint Address: 81 Direction: in Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms Endpoint Address: 01 Direction: out Attribute: 2 Type: Bulk Max Packet Size: 512 Interval: 0ms