1 | /*IAD*/
|
2 | 0x08, // bLength: Interface Descriptor size
|
3 | 0x0B, // bDescriptorType: IAD
|
4 | 0x00, // bFirstInterface
|
5 | 0x02, // bInterfaceCount
|
6 | 0x02, // bFunctionClass: CDC
|
7 | 0x02, // bFunctionSubClass
|
8 | 0x01, // bFunctionProtocol
|
9 | 0x02, // iFunction
|
10 | /*Interface Descriptor*/
|
11 | 0x09, /* bLength: Interface Descriptor size */
|
12 | USB_INTERFACE_DESCRIPTOR_TYPE, /* bDescriptorType: Interface */
|
13 | /* Interface descriptor type */
|
14 | 0x00, /* bInterfaceNumber: Number of Interface */
|
15 | 0x00, /* bAlternateSetting: Alternate setting */
|
16 | 0x01, /* bNumEndpoints: One endpoints used */
|
17 | 0x02, /* bInterfaceClass: Communication Interface Class */
|
18 | 0x02, /* bInterfaceSubClass: Abstract Control Model */
|
19 | 0x01, /* bInterfaceProtocol: Common AT commands */
|
20 | 0x00, /* iInterface: */
|
21 | /*Header Functional Descriptor*/
|
22 | 0x05, /* bLength: Endpoint Descriptor size */
|
23 | 0x24, /* bDescriptorType: CS_INTERFACE */
|
24 | 0x00, /* bDescriptorSubtype: Header Func Desc */
|
25 | 0x10, /* bcdCDC: spec release number */
|
26 | 0x01,
|
27 | /*Call Managment Functional Descriptor*/
|
28 | 0x05, /* bFunctionLength */
|
29 | 0x24, /* bDescriptorType: CS_INTERFACE */
|
30 | 0x01, /* bDescriptorSubtype: Call Management Func Desc */
|
31 | 0x00, /* bmCapabilities: D0+D1 */
|
32 | 0x01, /* bDataInterface: 1 */
|
33 | /*ACM Functional Descriptor*/
|
34 | 0x04, /* bFunctionLength */
|
35 | 0x24, /* bDescriptorType: CS_INTERFACE */
|
36 | 0x02, /* bDescriptorSubtype: Abstract Control Management desc */
|
37 | 0x02, /* bmCapabilities */
|
38 | /*Union Functional Descriptor*/
|
39 | 0x05, /* bFunctionLength */
|
40 | 0x24, /* bDescriptorType: CS_INTERFACE */
|
41 | 0x06, /* bDescriptorSubtype: Union func desc */
|
42 | 0x00, /* bMasterInterface: Communication class interface */
|
43 | 0x01, /* bSlaveInterface0: Data Class Interface */
|