Skip to content

Commit

Permalink
Merge branch 'feat/add_high_duty_adv_interval_v4.4' into 'release/v4.4'
Browse files Browse the repository at this point in the history
feat(nimble): Added support for high duty adv interval (v4.4)

See merge request espressif/esp-idf!25555
  • Loading branch information
rahult-github committed Sep 1, 2023
2 parents 2183fbc + 13afbeb commit d89b1e4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
6 changes: 6 additions & 0 deletions components/bt/host/nimble/Kconfig.in
Original file line number Diff line number Diff line change
Expand Up @@ -505,3 +505,9 @@ config BT_NIMBLE_USE_ESP_TIMER
default y
help
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
2 changes: 1 addition & 1 deletion components/bt/host/nimble/nimble
8 changes: 8 additions & 0 deletions components/bt/host/nimble/port/include/esp_nimble_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1382,4 +1382,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

0 comments on commit d89b1e4

Please sign in to comment.