mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-31 22:24:28 +00:00
components/bt: Separation of BT and BLE
This commit is contained in:
@@ -295,7 +295,9 @@ void l2c_rcv_acl_data (BT_HDR *p_msg)
|
||||
/* we have received credits more than max coc credits,
|
||||
* so disconnecting the Le Coc Channel
|
||||
*/
|
||||
#if (BLE_INCLUDED == TRUE)
|
||||
l2cble_send_peer_disc_req (p_ccb);
|
||||
#endif ///BLE_INCLUDED == TRUE
|
||||
} else {
|
||||
p_ccb->peer_conn_cfg.credits += credit;
|
||||
l2c_link_check_send_pkts (p_ccb->p_lcb, NULL, NULL);
|
||||
@@ -926,6 +928,7 @@ void l2c_process_timeout (TIMER_LIST_ENT *p_tle)
|
||||
l2c_info_timeout((tL2C_LCB *)p_tle->param);
|
||||
break;
|
||||
case BTU_TTYPE_L2CAP_UPDA_CONN_PARAMS: {
|
||||
#if (BLE_INCLUDED == TRUE)
|
||||
UINT8 status = HCI_ERR_HOST_TIMEOUT;
|
||||
tL2C_LCB *p_lcb = (tL2C_LCB *)p_tle->param;
|
||||
if (p_lcb){
|
||||
@@ -933,6 +936,7 @@ void l2c_process_timeout (TIMER_LIST_ENT *p_tle)
|
||||
p_lcb->conn_update_mask &= ~L2C_BLE_UPDATE_PARAM_FULL;
|
||||
}
|
||||
l2c_send_update_conn_params_cb(p_lcb, status);
|
||||
#endif ///BLE_INCLUDED == TRUE
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user