Merge branch 'feat/add_high_duty_adv_interval_v4.4' into 'release/v4.4'

feat(nimble): Added support for high duty adv interval (v4.4)

See merge request espressif/esp-idf!25555
This commit is contained in:
Rahul Tank
2023-09-01 15:02:24 +08:00
3 changed files with 15 additions and 1 deletions

View File

@ -505,3 +505,9 @@ config BT_NIMBLE_USE_ESP_TIMER
default y default y
help help
Set this option to use Esp Timer which has higher priority timer instead of FreeRTOS timer Set this option to use Esp Timer which has higher priority timer instead of FreeRTOS timer
config BT_NIMBLE_HIGH_DUTY_ADV_ITVL
bool "Enable BLE high duty advertising interval feature"
depends on BT_NIMBLE_ENABLED
help
This enable BLE high duty advertising interval feature

View File

@ -1382,4 +1382,12 @@
#endif #endif
#endif #endif
#ifndef MYNEWT_VAL_BLE_HIGH_DUTY_ADV_ITVL
#ifdef CONFIG_BT_NIMBLE_HIGH_DUTY_ADV_ITVL
#define MYNEWT_VAL_BLE_HIGH_DUTY_ADV_ITVL CONFIG_BT_NIMBLE_HIGH_DUTY_ADV_ITVL
#else
#define MYNEWT_VAL_BLE_HIGH_DUTY_ADV_ITVL (0)
#endif
#endif
#endif #endif