From 2e37621b41468cfb17c53c8177bb626b1ea19fc5 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Thu, 25 Sep 2025 18:09:27 +0530 Subject: [PATCH] feat(nimble): Add support for HCI commands / events 1. Read all local supported feature 2. Read remote supported feature 3. Advertising monitor. --- components/bt/host/nimble/Kconfig.in | 6 +++++- components/bt/host/nimble/port/include/esp_nimble_cfg.h | 8 ++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index fe9b86d83dc..c7049f36056 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -721,11 +721,15 @@ menu "BLE 6.x Features" if BT_NIMBLE_60_FEATURE_SUPPORT config BT_NIMBLE_CHANNEL_SOUNDING bool "ble channel souding feature" - depends on BT_NIMBLE_ENABLED default n help Used to enable/disable the channel sounding feature + config BT_NIMBLE_MONITOR_ADV + bool "Enable Monitor Advertising" + default n + help + Enable support for Monitor Advertisers. endif endmenu #BLE6.x diff --git a/components/bt/host/nimble/port/include/esp_nimble_cfg.h b/components/bt/host/nimble/port/include/esp_nimble_cfg.h index 620df768e73..0d063aeca40 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -2206,4 +2206,12 @@ #endif #endif +#ifndef MYNEWT_VAL_BLE_MONITOR_ADV +#ifdef CONFIG_BT_NIMBLE_MONITOR_ADV +#define MYNEWT_VAL_BLE_MONITOR_ADV CONFIG_BT_NIMBLE_MONITOR_ADV +#else +#define MYNEWT_VAL_BLE_MONITOR_ADV (0) +#endif +#endif + #endif