mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
Merge branch 'feat/add_support_multi_scan' into 'master'
fix(nimble): Added change to stop adv before starting new adv Closes BLERP-2984 See merge request espressif/esp-idf!51125
This commit is contained in:
@@ -1365,6 +1365,14 @@ menu "Extra Features"
|
|||||||
instead of DRAM (.iram.text/.text in internal RAM). Suitable for low-speed
|
instead of DRAM (.iram.text/.text in internal RAM). Suitable for low-speed
|
||||||
GAP/GATT operations to reduce RAM usage.
|
GAP/GATT operations to reduce RAM usage.
|
||||||
|
|
||||||
|
config BT_NIMBLE_GAP_ALLOW_ADV_RESTART
|
||||||
|
bool "Allow restarting ongoing advertising"
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
If enabled, stop ongoing advertising before starting it again with
|
||||||
|
new parameters,if any. If disabled, starting advertising while it is already
|
||||||
|
active returns BLE_HS_EALREADY.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "NimBLE Mesh"
|
menu "NimBLE Mesh"
|
||||||
|
|||||||
Submodule components/bt/host/nimble/nimble updated: d7063a5c80...225857c34b
@@ -2476,5 +2476,12 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MYNEWT_VAL_BLE_GAP_ALLOW_ADV_RESTART
|
||||||
|
#ifdef CONFIG_BT_NIMBLE_GAP_ALLOW_ADV_RESTART
|
||||||
|
#define MYNEWT_VAL_BLE_GAP_ALLOW_ADV_RESTART CONFIG_BT_NIMBLE_GAP_ALLOW_ADV_RESTART
|
||||||
|
#else
|
||||||
|
#define MYNEWT_VAL_BLE_GAP_ALLOW_ADV_RESTART (0)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user