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

This commit is contained in:
zhiweijian
2026-07-09 14:03:01 +08:00
parent 943602c0ac
commit 83f0831c53
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