mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-31 00:32:52 +00:00
gap: use gap_inquiry_set_scan_activity
This commit is contained in:
parent
c61d23ae45
commit
1dc973e755
@ -754,7 +754,7 @@ void gap_inquiry_set_lap(uint32_t lap);
|
||||
* @param inquiry_scan_interval range: 0x0012 to 0x1000; only even values are valid, Time = N * 0.625 ms
|
||||
* @param inquiry_scan_window range: 0x0011 to 0x1000; Time = N * 0.625 ms
|
||||
*/
|
||||
void gap_inquiry_set_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window);
|
||||
void gap_inquiry_set_scan_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window);
|
||||
|
||||
/**
|
||||
* @brief Remote Name Request
|
||||
|
@ -6404,7 +6404,7 @@ void gap_inquiry_set_lap(uint32_t lap){
|
||||
hci_stack->inquiry_lap = lap;
|
||||
}
|
||||
|
||||
void gap_inquiry_set_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window){
|
||||
void gap_inquiry_set_scan_activity(uint16_t inquiry_scan_interval, uint16_t inquiry_scan_window){
|
||||
hci_stack->inquiry_scan_interval = inquiry_scan_interval;
|
||||
hci_stack->inquiry_scan_window = inquiry_scan_window;
|
||||
hci_stack->gap_tasks |= GAP_TASK_WRITE_INQUIRY_SCAN_ACTIVITY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user