mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
hci: provide advertising sid to hci_le_add_device_to_periodic_advertiser_list
This commit is contained in:
parent
88288fc76b
commit
9e88556b50
@ -5694,7 +5694,7 @@ static bool hci_run_general_gap_le(void){
|
||||
if (entry->state & LE_PERIODIC_ADVERTISER_LIST_ENTRY_ADD_TO_CONTROLLER){
|
||||
entry->state &= ~LE_PERIODIC_ADVERTISER_LIST_ENTRY_ADD_TO_CONTROLLER;
|
||||
entry->state |= LE_PERIODIC_ADVERTISER_LIST_ENTRY_ON_CONTROLLER;
|
||||
hci_send_cmd(&hci_le_add_device_to_periodic_advertiser_list, entry->address_type, entry->address);
|
||||
hci_send_cmd(&hci_le_add_device_to_periodic_advertiser_list, entry->address_type, entry->address, entry->sid);
|
||||
return true;
|
||||
}
|
||||
if ((entry->state & LE_PERIODIC_ADVERTISER_LIST_ENTRY_ON_CONTROLLER) == 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user