mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-26 21:35:16 +00:00
also set scan response
This commit is contained in:
parent
dcc34cfc51
commit
646c8f51e6
@ -223,11 +223,11 @@ static void gap_run(){
|
||||
return;
|
||||
}
|
||||
|
||||
// if (todos & SET_SCAN_RESPONSE_DATA){
|
||||
// todos &= ~SET_SCAN_RESPONSE_DATA;
|
||||
// hci_send_cmd(&hci_le_set_scan_response_data, adv_data_len, adv_data);
|
||||
// return;
|
||||
// }
|
||||
if (todos & SET_SCAN_RESPONSE_DATA){
|
||||
todos &= ~SET_SCAN_RESPONSE_DATA;
|
||||
hci_send_cmd(&hci_le_set_scan_response_data, adv_data_len, adv_data);
|
||||
return;
|
||||
}
|
||||
|
||||
if (todos & ENABLE_ADVERTISEMENTS){
|
||||
todos &= ~ENABLE_ADVERTISEMENTS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user