Merge branch 'bugfix/fix_few_nimble_issues_10052025_v5.3' into 'release/v5.3'

fix(nimble): fix nimble issues 10052025(v5.3)

See merge request espressif/esp-idf!39015
This commit is contained in:
Rahul Tank
2025-05-14 20:41:42 +08:00
3 changed files with 17 additions and 3 deletions

View File

@ -600,6 +600,13 @@ if BT_NIMBLE_50_FEATURE_SUPPORT
will be supported from BLE 5.0 onwards. will be supported from BLE 5.0 onwards.
if BT_NIMBLE_EXT_ADV if BT_NIMBLE_EXT_ADV
config BT_NIMBLE_EXT_ADV_V2
bool "Enable support for extended adv v2"
default n
depends on BT_NIMBLE_EXT_ADV
help
Enable this option to use Extended Adv V2 command instead of V1.
config BT_NIMBLE_MAX_EXT_ADV_INSTANCES config BT_NIMBLE_MAX_EXT_ADV_INSTANCES
int "Maximum number of extended advertising instances." int "Maximum number of extended advertising instances."
range 0 4 range 0 4
@ -1094,8 +1101,7 @@ config BT_NIMBLE_HIGH_DUTY_ADV_ITVL
config BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN config BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
bool "Allow Connections with scanning in progress" bool "Allow Connections with scanning in progress"
depends on BT_NIMBLE_ENABLED depends on BT_NIMBLE_ENABLED && !(IDF_TARGET_ESP32C2)
depends on (!SOC_ESP_NIMBLE_CONTROLLER || IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32H2)
help help
This enables support for user to initiate a new connection with scan in progress This enables support for user to initiate a new connection with scan in progress

View File

@ -98,6 +98,14 @@
#define MYNEWT_VAL_BLE_EXT_ADV (CONFIG_BT_NIMBLE_EXT_ADV) #define MYNEWT_VAL_BLE_EXT_ADV (CONFIG_BT_NIMBLE_EXT_ADV)
#endif #endif
#ifndef MYNEWT_VAL_BLE_EXT_ADV_V2
#ifdef CONFIG_BT_NIMBLE_EXT_ADV_V2
#define MYNEWT_VAL_BLE_EXT_ADV_V2 (CONFIG_BT_NIMBLE_EXT_ADV_V2)
#else
#define MYNEWT_VAL_BLE_EXT_ADV_V2 (0)
#endif
#endif
#ifndef CONFIG_BT_NIMBLE_EXT_ADV_MAX_SIZE #ifndef CONFIG_BT_NIMBLE_EXT_ADV_MAX_SIZE
#define MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE (31) #define MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE (31)
#else #else