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 81ae481d7f
commit 8f51aee8fa
2 changed files with 14 additions and 0 deletions

View File

@ -699,3 +699,9 @@ config BT_NIMBLE_MAX_EADS
depends on BT_NIMBLE_ENABLED && BT_NIMBLE_ENC_ADV_DATA
help
Defines maximum number of encrypted advertising data key material to save
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

@ -1711,4 +1711,12 @@
#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