Merge branch 'feat/support_bluedroid_le_coc_and_eatt' into 'master'

feat(ble/bluedroid): Support bluedroid LE COC and EATT features

See merge request espressif/esp-idf!50171
This commit is contained in:
Wang Meng Yang
2026-07-10 10:14:44 +08:00
39 changed files with 7689 additions and 64 deletions
+6
View File
@@ -26,6 +26,9 @@
#include "btc_gap_ble.h"
#include "btc_iso_ble.h"
#include "btc_ble_cte.h"
#if (BLE_L2CAP_COC_INCLUDED == TRUE)
#include "btc_ble_l2cap.h"
#endif
#include "btc/btc_dm.h"
#include "bta/bta_gatt_api.h"
#if CLASSIC_BT_INCLUDED
@@ -279,6 +282,9 @@ static const btc_func_t profile_tab[BTC_PID_NUM] = {
#if (BLE_FEAT_CTE_EN == TRUE)
[BTC_PID_BLE_CTE] = {btc_ble_cte_call_handler, btc_ble_cte_cb_handler },
#endif // #if (BLE_FEAT_CTE_EN == TRUE)
#if (BLE_L2CAP_COC_INCLUDED == TRUE)
[BTC_PID_BLE_L2CAP] = {btc_ble_l2cap_call_handler, btc_ble_l2cap_cb_handler },
#endif // #if (BLE_L2CAP_COC_INCLUDED == TRUE)
};
/*****************************************************************************
@@ -120,6 +120,9 @@ typedef enum {
#if (BLE_FEAT_CTE_EN == TRUE)
BTC_PID_BLE_CTE,
#endif // #if (BLE_FEAT_CTE_EN == TRUE)
#if (BLE_L2CAP_COC_INCLUDED == TRUE)
BTC_PID_BLE_L2CAP,
#endif // #if (BLE_L2CAP_COC_INCLUDED == TRUE)
BTC_PID_NUM,
} btc_pid_t; //btc profile id