Classes
Communication Device Class Definitions
Collaboration diagram for Communication Device Class Definitions:

Classes

struct  usb_cdc_acm_desc_t
 CDC ACM Functional Descriptor. More...
 
struct  usb_cdc_call_mgmt_desc_t
 CDC Call Management Functional Descriptor. More...
 
struct  usb_cdc_hdr_desc_t
 CDC Header Functional Descriptor. More...
 
struct  usb_cdc_union_desc_t
 CDC Union Functional Descriptor. More...
 

Possible values of class

#define CDC_CLASS_DEVICE   0x02
 USB Communication Device Class. More...
 
#define CDC_CLASS_COMM   0x02
 CDC Communication Class Interface. More...
 
#define CDC_CLASS_DATA   0x0A
 CDC Data Class Interface. More...
 

USB CDC Subclass IDs

#define CDC_SUBCLASS_DLCM   0x01
 Direct Line Control Model. More...
 
#define CDC_SUBCLASS_ACM   0x02
 Abstract Control Model. More...
 
#define CDC_SUBCLASS_TCM   0x03
 Telephone Control Model. More...
 
#define CDC_SUBCLASS_MCCM   0x04
 Multi-Channel Control Model. More...
 
#define CDC_SUBCLASS_CCM   0x05
 CAPI Control Model. More...
 
#define CDC_SUBCLASS_ETH   0x06
 Ethernet Networking Control Model. More...
 
#define CDC_SUBCLASS_ATM   0x07
 ATM Networking Control Model. More...
 

USB CDC Communication Interface Protocol IDs

#define CDC_PROTOCOL_V25TER   0x01
 Common AT commands. More...
 

USB CDC Data Interface Protocol IDs

#define CDC_PROTOCOL_I430   0x30
 ISDN BRI. More...
 
#define CDC_PROTOCOL_HDLC   0x31
 HDLC. More...
 
#define CDC_PROTOCOL_TRANS   0x32
 Transparent. More...
 
#define CDC_PROTOCOL_Q921M   0x50
 Q.921 management protocol. More...
 
#define CDC_PROTOCOL_Q921   0x51
 Q.931 [sic] Data link protocol. More...
 
#define CDC_PROTOCOL_Q921TM   0x52
 Q.921 TEI-multiplexor. More...
 
#define CDC_PROTOCOL_V42BIS   0x90
 Data compression procedures. More...
 
#define CDC_PROTOCOL_Q931   0x91
 Euro-ISDN protocol control. More...
 
#define CDC_PROTOCOL_V120   0x92
 V.24 rate adaption to ISDN. More...
 
#define CDC_PROTOCOL_CAPI20   0x93
 CAPI Commands. More...
 
#define CDC_PROTOCOL_HOST   0xFD
 Host based driver. More...
 
#define CDC_PROTOCOL_PUFD   0xFE
 Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface. More...
 

USB CDC Functional Descriptor Types

#define CDC_CS_INTERFACE   0x24
 Interface Functional Descriptor. More...
 
#define CDC_CS_ENDPOINT   0x25
 Endpoint Functional Descriptor. More...
 

USB CDC Functional Descriptor Subtypes

#define CDC_SCS_HEADER   0x00
 Header Functional Descriptor. More...
 
#define CDC_SCS_CALL_MGMT   0x01
 Call Management. More...
 
#define CDC_SCS_ACM   0x02
 Abstract Control Management. More...
 
#define CDC_SCS_UNION   0x06
 Union Functional Descriptor. More...
 

USB CDC Request IDs

#define USB_REQ_CDC_SEND_ENCAPSULATED_COMMAND   0x00
 
#define USB_REQ_CDC_GET_ENCAPSULATED_RESPONSE   0x01
 
#define USB_REQ_CDC_SET_COMM_FEATURE   0x02
 
#define USB_REQ_CDC_GET_COMM_FEATURE   0x03
 
#define USB_REQ_CDC_CLEAR_COMM_FEATURE   0x04
 
#define USB_REQ_CDC_SET_AUX_LINE_STATE   0x10
 
#define USB_REQ_CDC_SET_HOOK_STATE   0x11
 
#define USB_REQ_CDC_PULSE_SETUP   0x12
 
#define USB_REQ_CDC_SEND_PULSE   0x13
 
#define USB_REQ_CDC_SET_PULSE_TIME   0x14
 
#define USB_REQ_CDC_RING_AUX_JACK   0x15
 
#define USB_REQ_CDC_SET_LINE_CODING   0x20
 
#define USB_REQ_CDC_GET_LINE_CODING   0x21
 
#define USB_REQ_CDC_SET_CONTROL_LINE_STATE   0x22
 
#define USB_REQ_CDC_SEND_BREAK   0x23
 
#define USB_REQ_CDC_SET_RINGER_PARMS   0x30
 
#define USB_REQ_CDC_GET_RINGER_PARMS   0x31
 
#define USB_REQ_CDC_SET_OPERATION_PARMS   0x32
 
#define USB_REQ_CDC_GET_OPERATION_PARMS   0x33
 
#define USB_REQ_CDC_SET_LINE_PARMS   0x34
 
#define USB_REQ_CDC_GET_LINE_PARMS   0x35
 
#define USB_REQ_CDC_DIAL_DIGITS   0x36
 
#define USB_REQ_CDC_SET_UNIT_PARAMETER   0x37
 
#define USB_REQ_CDC_GET_UNIT_PARAMETER   0x38
 
#define USB_REQ_CDC_CLEAR_UNIT_PARAMETER   0x39
 
#define USB_REQ_CDC_GET_PROFILE   0x3A
 
#define USB_REQ_CDC_SET_ETHERNET_MULTICAST_FILTERS   0x40
 
#define USB_REQ_CDC_SET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER   0x41
 
#define USB_REQ_CDC_GET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER   0x42
 
#define USB_REQ_CDC_SET_ETHERNET_PACKET_FILTER   0x43
 
#define USB_REQ_CDC_GET_ETHERNET_STATISTIC   0x44
 
#define USB_REQ_CDC_SET_ATM_DATA_FORMAT   0x50
 
#define USB_REQ_CDC_GET_ATM_DEVICE_STATISTICS   0x51
 
#define USB_REQ_CDC_SET_ATM_DEFAULT_VC   0x52
 
#define USB_REQ_CDC_GET_ATM_VC_STATISTICS   0x53
 
#define USB_REQ_CDC_NOTIFY_RING_DETECT   0x09
 
#define USB_REQ_CDC_NOTIFY_SERIAL_STATE   0x20
 
#define USB_REQ_CDC_NOTIFY_CALL_STATE_CHANGE   0x28
 
#define USB_REQ_CDC_NOTIFY_LINE_STATE_CHANGE   0x29
 

USB CDC Call Management Capabilities

#define CDC_CALL_MGMT_SUPPORTED   (1 << 0)
 Device handles call management itself. More...
 
#define CDC_CALL_MGMT_OVER_DCI   (1 << 1)
 Device can send/receive call management info over a Data Class interface. More...
 

USB CDC ACM Capabilities

#define CDC_ACM_SUPPORT_FEATURE_REQUESTS   (1 << 0)
 
#define CDC_ACM_SUPPORT_LINE_REQUESTS   (1 << 1)
 
#define CDC_ACM_SUPPORT_SENDBREAK_REQUESTS   (1 << 2)
 Device supports the request Send_Break. More...
 
#define CDC_ACM_SUPPORT_NOTIFY_REQUESTS   (1 << 3)
 Device supports the notification Network_Connection. More...
 

Detailed Description

Macro Definition Documentation

◆ CDC_ACM_SUPPORT_FEATURE_REQUESTS

#define CDC_ACM_SUPPORT_FEATURE_REQUESTS   (1 << 0)

Device supports the request combination of Set_Comm_Feature, Clear_Comm_Feature, and Get_Comm_Feature.

Definition at line 207 of file usb_protocol_cdc.h.

◆ CDC_ACM_SUPPORT_LINE_REQUESTS

#define CDC_ACM_SUPPORT_LINE_REQUESTS   (1 << 1)

Device supports the request combination of Set_Line_Coding, Set_Control_Line_State, Get_Line_Coding, and the notification Serial_State.

Definition at line 211 of file usb_protocol_cdc.h.

◆ CDC_ACM_SUPPORT_NOTIFY_REQUESTS

#define CDC_ACM_SUPPORT_NOTIFY_REQUESTS   (1 << 3)

Device supports the notification Network_Connection.

Definition at line 215 of file usb_protocol_cdc.h.

◆ CDC_ACM_SUPPORT_SENDBREAK_REQUESTS

#define CDC_ACM_SUPPORT_SENDBREAK_REQUESTS   (1 << 2)

Device supports the request Send_Break.

Definition at line 213 of file usb_protocol_cdc.h.

◆ CDC_CALL_MGMT_OVER_DCI

#define CDC_CALL_MGMT_OVER_DCI   (1 << 1)

Device can send/receive call management info over a Data Class interface.

Definition at line 200 of file usb_protocol_cdc.h.

◆ CDC_CALL_MGMT_SUPPORTED

#define CDC_CALL_MGMT_SUPPORTED   (1 << 0)

Device handles call management itself.

Definition at line 198 of file usb_protocol_cdc.h.

◆ CDC_CLASS_COMM

#define CDC_CLASS_COMM   0x02

CDC Communication Class Interface.

Definition at line 52 of file usb_protocol_cdc.h.

◆ CDC_CLASS_DATA

#define CDC_CLASS_DATA   0x0A

CDC Data Class Interface.

Definition at line 53 of file usb_protocol_cdc.h.

◆ CDC_CLASS_DEVICE

#define CDC_CLASS_DEVICE   0x02

USB Communication Device Class.

Definition at line 51 of file usb_protocol_cdc.h.

◆ CDC_CS_ENDPOINT

#define CDC_CS_ENDPOINT   0x25

Endpoint Functional Descriptor.

Definition at line 95 of file usb_protocol_cdc.h.

◆ CDC_CS_INTERFACE

#define CDC_CS_INTERFACE   0x24

Interface Functional Descriptor.

Definition at line 94 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_CAPI20

#define CDC_PROTOCOL_CAPI20   0x93

CAPI Commands.

Definition at line 83 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_HDLC

#define CDC_PROTOCOL_HDLC   0x31

HDLC.

Definition at line 75 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_HOST

#define CDC_PROTOCOL_HOST   0xFD

Host based driver.

Definition at line 84 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_I430

#define CDC_PROTOCOL_I430   0x30

ISDN BRI.

Definition at line 74 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_PUFD

#define CDC_PROTOCOL_PUFD   0xFE

Describes the Protocol Unit Functional Descriptors [sic] on Communication Class Interface.

Definition at line 89 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_Q921

#define CDC_PROTOCOL_Q921   0x51

Q.931 [sic] Data link protocol.

Definition at line 78 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_Q921M

#define CDC_PROTOCOL_Q921M   0x50

Q.921 management protocol.

Definition at line 77 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_Q921TM

#define CDC_PROTOCOL_Q921TM   0x52

Q.921 TEI-multiplexor.

Definition at line 79 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_Q931

#define CDC_PROTOCOL_Q931   0x91

Euro-ISDN protocol control.

Definition at line 81 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_TRANS

#define CDC_PROTOCOL_TRANS   0x32

Transparent.

Definition at line 76 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_V120

#define CDC_PROTOCOL_V120   0x92

V.24 rate adaption to ISDN.

Definition at line 82 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_V25TER

#define CDC_PROTOCOL_V25TER   0x01

Common AT commands.

Definition at line 69 of file usb_protocol_cdc.h.

◆ CDC_PROTOCOL_V42BIS

#define CDC_PROTOCOL_V42BIS   0x90

Data compression procedures.

Definition at line 80 of file usb_protocol_cdc.h.

◆ CDC_SCS_ACM

#define CDC_SCS_ACM   0x02

Abstract Control Management.

Definition at line 102 of file usb_protocol_cdc.h.

◆ CDC_SCS_CALL_MGMT

#define CDC_SCS_CALL_MGMT   0x01

Call Management.

Definition at line 101 of file usb_protocol_cdc.h.

◆ CDC_SCS_HEADER

#define CDC_SCS_HEADER   0x00

Header Functional Descriptor.

Definition at line 100 of file usb_protocol_cdc.h.

◆ CDC_SCS_UNION

#define CDC_SCS_UNION   0x06

Union Functional Descriptor.

Definition at line 103 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_ACM

#define CDC_SUBCLASS_ACM   0x02

Abstract Control Model.

Definition at line 59 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_ATM

#define CDC_SUBCLASS_ATM   0x07

ATM Networking Control Model.

Definition at line 64 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_CCM

#define CDC_SUBCLASS_CCM   0x05

CAPI Control Model.

Definition at line 62 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_DLCM

#define CDC_SUBCLASS_DLCM   0x01

Direct Line Control Model.

Definition at line 58 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_ETH

#define CDC_SUBCLASS_ETH   0x06

Ethernet Networking Control Model.

Definition at line 63 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_MCCM

#define CDC_SUBCLASS_MCCM   0x04

Multi-Channel Control Model.

Definition at line 61 of file usb_protocol_cdc.h.

◆ CDC_SUBCLASS_TCM

#define CDC_SUBCLASS_TCM   0x03

Telephone Control Model.

Definition at line 60 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_CLEAR_COMM_FEATURE

#define USB_REQ_CDC_CLEAR_COMM_FEATURE   0x04

Definition at line 112 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_CLEAR_UNIT_PARAMETER

#define USB_REQ_CDC_CLEAR_UNIT_PARAMETER   0x39

Definition at line 132 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_DIAL_DIGITS

#define USB_REQ_CDC_DIAL_DIGITS   0x36

Definition at line 129 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_ATM_DEVICE_STATISTICS

#define USB_REQ_CDC_GET_ATM_DEVICE_STATISTICS   0x51

Definition at line 140 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_ATM_VC_STATISTICS

#define USB_REQ_CDC_GET_ATM_VC_STATISTICS   0x53

Definition at line 142 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_COMM_FEATURE

#define USB_REQ_CDC_GET_COMM_FEATURE   0x03

Definition at line 111 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_ENCAPSULATED_RESPONSE

#define USB_REQ_CDC_GET_ENCAPSULATED_RESPONSE   0x01

Definition at line 109 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER

#define USB_REQ_CDC_GET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER   0x42

Definition at line 136 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_ETHERNET_STATISTIC

#define USB_REQ_CDC_GET_ETHERNET_STATISTIC   0x44

Definition at line 138 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_LINE_CODING

#define USB_REQ_CDC_GET_LINE_CODING   0x21

Definition at line 120 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_LINE_PARMS

#define USB_REQ_CDC_GET_LINE_PARMS   0x35

Definition at line 128 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_OPERATION_PARMS

#define USB_REQ_CDC_GET_OPERATION_PARMS   0x33

Definition at line 126 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_PROFILE

#define USB_REQ_CDC_GET_PROFILE   0x3A

Definition at line 133 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_RINGER_PARMS

#define USB_REQ_CDC_GET_RINGER_PARMS   0x31

Definition at line 124 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_GET_UNIT_PARAMETER

#define USB_REQ_CDC_GET_UNIT_PARAMETER   0x38

Definition at line 131 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_NOTIFY_CALL_STATE_CHANGE

#define USB_REQ_CDC_NOTIFY_CALL_STATE_CHANGE   0x28

Definition at line 146 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_NOTIFY_LINE_STATE_CHANGE

#define USB_REQ_CDC_NOTIFY_LINE_STATE_CHANGE   0x29

Definition at line 147 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_NOTIFY_RING_DETECT

#define USB_REQ_CDC_NOTIFY_RING_DETECT   0x09

Definition at line 144 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_NOTIFY_SERIAL_STATE

#define USB_REQ_CDC_NOTIFY_SERIAL_STATE   0x20

Definition at line 145 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_PULSE_SETUP

#define USB_REQ_CDC_PULSE_SETUP   0x12

Definition at line 115 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_RING_AUX_JACK

#define USB_REQ_CDC_RING_AUX_JACK   0x15

Definition at line 118 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SEND_BREAK

#define USB_REQ_CDC_SEND_BREAK   0x23

Definition at line 122 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SEND_ENCAPSULATED_COMMAND

#define USB_REQ_CDC_SEND_ENCAPSULATED_COMMAND   0x00

Definition at line 108 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SEND_PULSE

#define USB_REQ_CDC_SEND_PULSE   0x13

Definition at line 116 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_ATM_DATA_FORMAT

#define USB_REQ_CDC_SET_ATM_DATA_FORMAT   0x50

Definition at line 139 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_ATM_DEFAULT_VC

#define USB_REQ_CDC_SET_ATM_DEFAULT_VC   0x52

Definition at line 141 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_AUX_LINE_STATE

#define USB_REQ_CDC_SET_AUX_LINE_STATE   0x10

Definition at line 113 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_COMM_FEATURE

#define USB_REQ_CDC_SET_COMM_FEATURE   0x02

Definition at line 110 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_CONTROL_LINE_STATE

#define USB_REQ_CDC_SET_CONTROL_LINE_STATE   0x22

Definition at line 121 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_ETHERNET_MULTICAST_FILTERS

#define USB_REQ_CDC_SET_ETHERNET_MULTICAST_FILTERS   0x40

Definition at line 134 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_ETHERNET_PACKET_FILTER

#define USB_REQ_CDC_SET_ETHERNET_PACKET_FILTER   0x43

Definition at line 137 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER

#define USB_REQ_CDC_SET_ETHERNET_POWER_MANAGEMENT_PATTERNFILTER   0x41

Definition at line 135 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_HOOK_STATE

#define USB_REQ_CDC_SET_HOOK_STATE   0x11

Definition at line 114 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_LINE_CODING

#define USB_REQ_CDC_SET_LINE_CODING   0x20

Definition at line 119 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_LINE_PARMS

#define USB_REQ_CDC_SET_LINE_PARMS   0x34

Definition at line 127 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_OPERATION_PARMS

#define USB_REQ_CDC_SET_OPERATION_PARMS   0x32

Definition at line 125 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_PULSE_TIME

#define USB_REQ_CDC_SET_PULSE_TIME   0x14

Definition at line 117 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_RINGER_PARMS

#define USB_REQ_CDC_SET_RINGER_PARMS   0x30

Definition at line 123 of file usb_protocol_cdc.h.

◆ USB_REQ_CDC_SET_UNIT_PARAMETER

#define USB_REQ_CDC_SET_UNIT_PARAMETER   0x37

Definition at line 130 of file usb_protocol_cdc.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:01