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

This commit is contained in:
Rahul Tank
2023-08-16 11:47:16 +05:30
parent bd5f10b1fd
commit 13afbeb7cb
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