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 bbfedfc447
commit d3b69c25e4
3 changed files with 15 additions and 1 deletions

View File

@@ -857,3 +857,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

@@ -1730,4 +1730,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