You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Communication Interface Management Element Request Codes
139
-
typedefenum
140
-
{
139
+
typedefenum {
141
140
CDC_REQUEST_SEND_ENCAPSULATED_COMMAND=0x00, ///< is used to issue a command in the format of the supported control protocol of the Communications Class interface
142
141
CDC_REQUEST_GET_ENCAPSULATED_RESPONSE=0x01, ///< is used to request a response in the format of the supported control protocol of the Communications Class interface.
143
142
CDC_REQUEST_SET_COMM_FEATURE=0x02,
@@ -180,39 +179,38 @@ typedef enum
180
179
CDC_REQUEST_GET_ATM_VC_STATISTICS=0x53,
181
180
182
181
CDC_REQUEST_MDLM_SEMANTIC_MODEL=0x60,
183
-
}cdc_management_request_t;
182
+
}cdc_management_request_t;
184
183
185
-
enum {
184
+
typedefenum {
186
185
CDC_CONTROL_LINE_STATE_DTR=0x01,
187
186
CDC_CONTROL_LINE_STATE_RTS=0x02,
188
-
};
187
+
}cdc_control_line_state_t;
189
188
190
-
enum {
189
+
typedefenum {
191
190
CDC_LINE_CODING_STOP_BITS_1=0, // 1 bit
192
191
CDC_LINE_CODING_STOP_BITS_1_5=1, // 1.5 bits
193
192
CDC_LINE_CODING_STOP_BITS_2=2, // 2 bits
194
-
};
193
+
}cdc_line_coding_stopbits_t;
195
194
196
195
// TODO Backward compatible for typos. Maybe removed in the future release
CDC_NOTIF_NETWORK_CONNECTION=0x00, ///< This notification allows the device to notify the host about network connection status.
217
215
CDC_NOTIF_RESPONSE_AVAILABLE=0x01, ///< This notification allows the device to notify the hostthat a response is available. This response can be retrieved with a subsequent \ref CDC_REQUEST_GET_ENCAPSULATED_RESPONSE request.
0 commit comments