adding subclass RNDIS-CDC driver API

- implement init
- close
- xfer_isr
- open

adding waiting for notification after send rndis_initalize_msg
This commit is contained in:
hathach
2013-07-05 16:22:42 +07:00
parent e4ff63c604
commit 355fd7e648
7 changed files with 138 additions and 13 deletions

View File

@@ -265,7 +265,7 @@ typedef ATTR_PACKED_STRUCT(struct) {
uint8_t bDataInterface;
}cdc_desc_func_call_management_t;
typedef struct {
typedef ATTR_PACKED_STRUCT(struct) {
uint8_t support_comm_request : 1; ///< Device supports the request combination of Set_Comm_Feature, Clear_Comm_Feature, and Get_Comm_Feature.
uint8_t support_line_request : 1; ///< Device supports the request combination of Set_Line_Coding, Set_Control_Line_State, Get_Line_Coding, and the notification Serial_State.
uint8_t support_send_break : 1; ///< Device supports the request Send_Break