mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +00:00
hci: update advertising data without stopping advertising first
This commit is contained in:
parent
a93e262f43
commit
4e5d21eaa3
@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
### Changed
|
||||
- GAP: Drop local bonding flag in IO Capability Reply if remote does not indicate bonding
|
||||
- GAP: return status for `gap_set_security_mode`
|
||||
- HCI: update advertising data without stopping advertising first
|
||||
|
||||
## Release v1.4
|
||||
|
||||
|
@ -4074,7 +4074,7 @@ static bool hci_run_general_gap_le(void){
|
||||
// - whitelist change required but used for advertisement filter policy
|
||||
// - resolving list modified
|
||||
bool advertising_uses_whitelist = hci_stack->le_advertisements_filter_policy != 0;
|
||||
bool advertising_change = (hci_stack->le_advertisements_todo & (LE_ADVERTISEMENT_TASKS_SET_PARAMS | LE_ADVERTISEMENT_TASKS_SET_ADV_DATA)) != 0;
|
||||
bool advertising_change = (hci_stack->le_advertisements_todo & LE_ADVERTISEMENT_TASKS_SET_PARAMS) != 0;
|
||||
if (advertising_change ||
|
||||
(hci_stack->le_advertisements_enabled_for_current_roles == 0) ||
|
||||
(advertising_uses_whitelist & whitelist_modification_pending) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user