28 #ifndef _USB_CDC_WCM_H_ 29 #define _USB_CDC_WCM_H_ 38 #define USB_CDC_SUBCLASS_WHCM 0x08 39 #define USB_CDC_SUBCLASS_DMM 0x09 40 #define USB_CDC_SUBCLASS_MDLM 0x0A 41 #define USB_CDC_SUBCLASS_OBEX 0x0B 46 #define USB_CDC_PROTO_PCCA101 0x02 47 #define USB_CDC_PROTO_PCCA101O 0x03 48 #define USB_CDC_PROTO_GSM 0x04 49 #define USB_CDC_PROTO_3G 0x05 50 #define USB_CDC_PROTO_CDMA 0x06 55 #define USB_DTYPE_CDC_WHCM 0x11 56 #define USB_DTYPE_CDC_MDLM 0x12 57 #define USB_DTYPE_CDC_MDLM_DETAIL 0x13 58 #define USB_DTYPE_CDC_DMM 0x14 59 #define USB_DTYPE_CDC_OBEX 0x15 60 #define USB_DTYPE_CDC_CMDSET 0x16 61 #define USB_DTYPE_CDC_CMDSET_DETAIL 0x17 62 #define USB_DTYPE_CDC_TEL_CONRTOL 0x18 63 #define USB_DTYPE_CDC_OBEX_SERVICE 0x19 72 struct usb_cdc_whcm_desc { 77 } __attribute__ ((packed));
90 } __attribute__ ((packed));
102 uint8_t bDetailData[0];
105 } __attribute__ ((packed));
115 } __attribute__ ((packed));
126 uint8_t bOBEXServiceUUID[16];
130 } __attribute__ ((packed));
uint16_t bcdVersion
BCD version number for this subclass specification.
uint16_t bcdVersion
Version number for this subclass specification.
uint8_t bDescriptorSubType
Mobile Direct Line Model Functional Descriptor.
Mobile Direct Line Model Functional Descriptor.
uint8_t bDescriptorSubType
OBEX Service Identifier Functional Descriptor.
uint8_t bDescriptorSubType
Mobile Direct Line Model Details Functional Descriptor.
Device Management Functional Descriptor.
uint16_t wOBEXServiceVersion
A 16 bit value indicating the version of the OBEX service associated with this function.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bDescriptorSubType
Wireless Handset Control Model Functional Descriptor.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
OBEX Service Identification Functional Descriptor.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bDescriptorSubType
Wireless Handset Control Model Functional Descriptor.
uint16_t wMaxCommand
The buffer size allocated in the device for data sent from the host using SEND_ENCAPSULATED_CMD.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint16_t bcdVersion
Version number for this subclass specification.
uint8_t bGUID[16]
Uniquely identifies the detailed transport protocol provided by this MDLM interface.
Mobile Direct Line Model Detail Functional Descriptor.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bGuidDescriptorType
Discriminator, interpreted according to the semantic model specified by the GUID in the MDLM Function...
uint8_t bmOBEXRole
Represents the OBEX role to be played by the function.