Skip to content

Commit aac2e92

Browse files
committed
Merge branch 'feature/ble_5_1_direction_finding_master_20250311' into 'master'
feat: Add Bluetooth LE 5 1 direction finding feature See merge request espressif/esp-idf!37684
2 parents 23c73cd + 815e89d commit aac2e92

File tree

8 files changed

+35
-1
lines changed

8 files changed

+35
-1
lines changed

components/bt/controller/esp32c6/Kconfig.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,16 @@ config BT_LE_POWER_CONTROL_ENABLED
228228
help
229229
Set this option to enable the Power Control feature on controller
230230

231+
config BT_LE_CTE_FEATURE_ENABLED
232+
bool "Enable Bluetooth LE Direction Finding (AoA/AoD)"
233+
depends on BT_LE_50_FEATURE_SUPPORT && SOC_BLE_CTE_SUPPORTED
234+
default n
235+
help
236+
Enable this option to activate Bluetooth LE Direction Finding (AoA/AoD) feature.
237+
Note:
238+
This feature allows devices to determine the direction of a Bluetooth CTE signal,
239+
enabling Angle of Arrival (AoA) and Angle of Departure (AoD) functionality.
240+
231241
menu "Memory Settings"
232242
depends on !BT_NIMBLE_ENABLED
233243

components/bt/controller/esp32h2/Kconfig.in

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,19 @@ config BT_LE_POWER_CONTROL_ENABLED
228228
help
229229
Set this option to enable the Power Control feature on controller
230230

231+
config BT_LE_CTE_FEATURE_ENABLED
232+
bool "Enable Bluetooth LE Direction Finding (AoA/AoD)"
233+
depends on BT_LE_50_FEATURE_SUPPORT && SOC_BLE_CTE_SUPPORTED && !(BT_LE_SECURITY_ENABLE)
234+
default n
235+
help
236+
Enable this option to activate Bluetooth LE Direction Finding (AoA/AoD) feature.
237+
Note:
238+
This feature allows devices to determine the direction of a Bluetooth CTE signal,
239+
enabling Angle of Arrival (AoA) and Angle of Departure (AoD) functionality.
240+
In chip esp32h2, Direction Finding is not supported in encrypted
241+
communication scenarios. If you are using chip esp32h2, ensure that encryption is
242+
disabled when using this feature.
243+
231244
menu "Memory Settings"
232245
depends on !BT_NIMBLE_ENABLED
233246

components/soc/esp32c61/include/soc/Kconfig.soc_caps.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,6 +1283,10 @@ config SOC_BLE_MULTI_CONN_OPTIMIZATION
12831283
bool
12841284
default y
12851285

1286+
config SOC_BLE_CTE_SUPPORTED
1287+
bool
1288+
default y
1289+
12861290
config SOC_PHY_COMBO_MODULE
12871291
bool
12881292
default y

components/soc/esp32c61/include/soc/soc_caps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@
518518
#define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
519519
#define SOC_BLUFI_SUPPORTED (1) /*!< Support BLUFI */
520520
#define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
521+
#define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */
521522

522523
/*------------------------------------- PHY CAPS -------------------------------------*/
523524
#define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/

components/soc/esp32h2/include/soc/Kconfig.soc_caps.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,6 +1567,10 @@ config SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
15671567
bool
15681568
default y
15691569

1570+
config SOC_BLE_CTE_SUPPORTED
1571+
bool
1572+
default y
1573+
15701574
config SOC_DEBUG_HAVE_OCD_STUB_BINS
15711575
bool
15721576
default y

components/soc/esp32h2/include/soc/soc_caps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@
623623
#define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
624624
#define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
625625
#define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
626+
#define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */
626627

627628
/*------------------------------------- DEBUG CAPS -------------------------------------*/
628629
#define SOC_DEBUG_HAVE_OCD_STUB_BINS (1)

components/soc/esp32h21/include/soc/soc_caps.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,3 +568,4 @@
568568
// #define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
569569
// #define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
570570
// #define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
571+
// #define SOC_BLE_CTE_SUPPORTED (1) /*!< Support Bluetooth LE Constant Tone Extension (CTE) */

0 commit comments

Comments
 (0)