阅读:1186回复:1
寻求GPRS modem描述符的获取
Connection Status Device connected
Current Configuration 1 Speed Full Device Address 1 Number Of Open Pipes 2 Device Descriptor P100EU USB Mass Storage Offset Field Size Value Description 0 bLength 1 12h 1 bDescriptorType 1 01h Device 2 bcdUSB 2 0200h USB Spec 2.0 4 bDeviceClass 1 02h CDC Control 5 bDeviceSubClass 1 00h 6 bDeviceProtocol 1 00h 7 bMaxPacketSize0 1 08h 8 bytes 8 idVendor 2 0471h Philips 10 idProduct 2 BEAFh 12 bcdDevice 2 0100h 1.00 14 iManufacturer 1 01h "POPULAR" 15 iProduct 1 02h "P100EU USB Mass Storage" 16 iSerialNumber 1 03h "352369-02-015213....0" 17 bNumConfigurations 1 01h Configuration Descriptor 1 Self Powered Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 02h Configuration 2 wTotalLength 2 0020h 4 bNumInterfaces 1 01h 5 bConfigurationValue 1 01h 6 iConfiguration 1 00h 7 bmAttributes 1 C0h Self Powered 4..0: Reserved ...00000 5: Remote Wakeup ..0..... No 6: Self Powered .1...... Yes 7: Reserved (set to one) (bus-powered for 1.0) 1....... 8 bMaxPower 1 01h 2 mA Interface Descriptor 0/0 Mass Storage, 2 Endpoints Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 04h Interface 2 bInterfaceNumber 1 00h 3 bAlternateSetting 1 00h 4 bNumEndpoints 1 02h 5 bInterfaceClass 1 08h Mass Storage 6 bInterfaceSubClass 1 06h SCSI transparent command set 7 bInterfaceProtocol 1 50h Bulk-Only Transport 8 iInterface 1 04h "Mass Storage Device" Endpoint Descriptor 03 3 Out, Bulk, 64 bytes Offset Field Size Value Description 0 bLength 1 07h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 03h 3 Out 3 bmAttributes 1 02h Bulk 1..0: Transfer Type ......10 Bulk 7..2: Reserved 000000.. 4 wMaxPacketSize 2 0040h 64 bytes 6 bInterval 1 00h Endpoint Descriptor 83 3 In, Bulk, 64 bytes Offset Field Size Value Description 0 bLength 1 07h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 83h 3 In 3 bmAttributes 1 02h Bulk 1..0: Transfer Type ......10 Bulk 7..2: Reserved 000000.. 4 wMaxPacketSize 2 0040h 64 bytes 6 bInterval 1 00h /************************************************************************/ Connection Status Device connected Current Configuration 1 Speed Full Device Address 1 Number Of Open Pipes 3 Device Descriptor P100EU EDGE USB modem Offset Field Size Value Description 0 bLength 1 12h 1 bDescriptorType 1 01h Device 2 bcdUSB 2 0200h USB Spec 2.0 4 bDeviceClass 1 02h CDC Control 5 bDeviceSubClass 1 00h 6 bDeviceProtocol 1 00h 7 bMaxPacketSize0 1 08h 8 bytes 8 idVendor 2 0471h Philips 10 idProduct 2 1234h 12 bcdDevice 2 0100h 1.00 14 iManufacturer 1 01h "POPULAR" 15 iProduct 1 02h "P100EU EDGE USB modem" 16 iSerialNumber 1 03h "352369-02-015213....0" 17 bNumConfigurations 1 01h Configuration Descriptor 1 Self Powered Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 02h Configuration 2 wTotalLength 2 0043h 4 bNumInterfaces 1 02h 5 bConfigurationValue 1 01h 6 iConfiguration 1 00h 7 bmAttributes 1 C0h Self Powered 4..0: Reserved ...00000 5: Remote Wakeup ..0..... No 6: Self Powered .1...... Yes 7: Reserved (set to one) (bus-powered for 1.0) 1....... 8 bMaxPower 1 01h 2 mA Interface Descriptor 0/0 CDC Control, 1 Endpoint Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 04h Interface 2 bInterfaceNumber 1 00h 3 bAlternateSetting 1 00h 4 bNumEndpoints 1 01h 5 bInterfaceClass 1 02h CDC Control 6 bInterfaceSubClass 1 02h Abstract Control Model 7 bInterfaceProtocol 1 01h Common AT commands 8 iInterface 1 04h "WMC Modem" Header Functional Descriptor Offset Field Size Value Description 0 bLength 1 05h 1 bDescriptorType 1 24h Header Functional 2 00 10 01 Union Functional Descriptor Offset Field Size Value Description 0 bLength 1 05h 1 bDescriptorType 1 24h Union Functional 2 06 00 01 Call Management Functional Descriptor Offset Field Size Value Description 0 bLength 1 05h 1 bDescriptorType 1 24h Call Management Functional 2 01 03 01 Abstract Control Management Functional Descriptor Offset Field Size Value Description 0 bLength 1 04h 1 bDescriptorType 1 24h Abstract Control Management Functional 2 02 07 Endpoint Descriptor 81 1 In, Interrupt, 16 ms Offset Field Size Value Description 0 bLength 1 07h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 81h 1 In 3 bmAttributes 1 03h Interrupt 1..0: Transfer Type ......11 Interrupt 7..2: Reserved 000000.. 4 wMaxPacketSize 2 0010h 16 bytes 6 bInterval 1 10h 16 ms Interface Descriptor 1/0 CDC Data, 2 Endpoints Offset Field Size Value Description 0 bLength 1 09h 1 bDescriptorType 1 04h Interface 2 bInterfaceNumber 1 01h 3 bAlternateSetting 1 00h 4 bNumEndpoints 1 02h 5 bInterfaceClass 1 0Ah CDC Data 6 bInterfaceSubClass 1 00h 7 bInterfaceProtocol 1 00h 8 iInterface 1 05h "WMC Modem bulk data" Endpoint Descriptor 03 3 Out, Bulk, 64 bytes Offset Field Size Value Description 0 bLength 1 07h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 03h 3 Out 3 bmAttributes 1 02h Bulk 1..0: Transfer Type ......10 Bulk 7..2: Reserved 000000.. 4 wMaxPacketSize 2 0040h 64 bytes 6 bInterval 1 00h Endpoint Descriptor 83 3 In, Bulk, 64 bytes Offset Field Size Value Description 0 bLength 1 07h 1 bDescriptorType 1 05h Endpoint 2 bEndpointAddress 1 83h 3 In 3 bmAttributes 1 02h Bulk 1..0: Transfer Type ......10 Bulk 7..2: Reserved 000000.. 4 wMaxPacketSize 2 0040h 64 bytes 6 bInterval 1 00h /*******************************************************************/ 这是用USBlyzer得到的同一个设备的描述符,我想应该是个组合设备,因为设备描述符idProduct部分不同,但是怎么获得第二次modem部分的描述符还要请各位给个提示,打开modem里面发现有AU6332芯片,只找到芯片各脚信息的资料,现在能通过单片机读取SD卡模式下的描述符,如论如何也获得不了modem部分的描述符。 还请各位给个提示或者大概方法,谢谢 |
|
沙发#
发布于:2009-09-28 20:58
各位高手给个提示吧!
|
|