41 #ifndef BLE_MGR_L2CAP_H_
42 #define BLE_MGR_L2CAP_H_
53 BLE_MGR_L2CAP_LISTEN_CMD = BLE_MGR_CMD_CAT_FIRST(BLE_MGR_L2CAP_CMD_CAT),
54 BLE_MGR_L2CAP_STOP_LISTEN_CMD,
55 BLE_MGR_L2CAP_CONNECTION_CFM_CMD,
56 BLE_MGR_L2CAP_CONNECT_CMD,
57 BLE_MGR_L2CAP_DISCONNECT_CMD,
58 BLE_MGR_L2CAP_ADD_CREDITS_CMD,
59 BLE_MGR_L2CAP_SEND_CMD,
61 BLE_MGR_L2CAP_LAST_CMD,
69 uint16_t initial_credits;
71 } ble_mgr_l2cap_listen_cmd_t;
78 } ble_mgr_l2cap_listen_rsp_t;
80 void ble_mgr_l2cap_listen_cmd_handler(
void *param);
86 } ble_mgr_l2cap_stop_listen_cmd_t;
93 } ble_mgr_l2cap_stop_listen_rsp_t;
95 void ble_mgr_l2cap_stop_listen_cmd_handler(
void *param);
102 } ble_mgr_l2cap_connection_cfm_cmd_t;
107 } ble_mgr_l2cap_connection_cfm_rsp_t;
109 void ble_mgr_l2cap_connection_cfm_cmd_handler(
void *param);
115 uint16_t initial_credits;
116 } ble_mgr_l2cap_connect_cmd_t;
122 } ble_mgr_l2cap_connect_rsp_t;
124 void ble_mgr_l2cap_connect_cmd_handler(
void *param);
130 } ble_mgr_l2cap_disconnect_cmd_t;
136 } ble_mgr_l2cap_disconnect_rsp_t;
138 void ble_mgr_l2cap_disconnect_cmd_handler(
void *param);
145 } ble_mgr_l2cap_add_credits_cmd_t;
153 } ble_mgr_l2cap_add_credits_rsp_t;
155 void ble_mgr_l2cap_add_credits_cmd_handler(
void *param);
163 } ble_mgr_l2cap_send_cmd_t;
168 } ble_mgr_l2cap_send_rsp_t;
170 void ble_mgr_l2cap_send_cmd_handler(
void *param);
177 void ble_mgr_l2cap_disconnect_ind_evt_handler(
ble_gtl_msg_t *gtl);
179 void ble_mgr_l2cap_connect_req_ind_evt_handler(
ble_gtl_msg_t *gtl);
183 void ble_mgr_l2cap_pdu_send_rsp_evt_handler(
ble_gtl_msg_t *gtl);
185 void ble_mgr_l2cap_lecnx_data_recv_ind_evt_handler(
ble_gtl_msg_t *gtl);
187 void ble_mgr_gapc_cmp__le_cb_connection_evt_handler(
ble_gtl_msg_t *gtl);
189 void ble_mgr_l2cap_disconnect_ind(uint16_t conn_idx);