perf: tune BLE scanning performance, switch over to NimBLE
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
menu "BLE Scanner"
|
||||
|
||||
config BLE_SCAN_INTERVAL_MS
|
||||
int "Scan interval (ms)"
|
||||
default 100
|
||||
range 3 10240
|
||||
help
|
||||
Time between the start of consecutive scan windows (0.625 ms units
|
||||
internally). Larger values reduce duty cycle and leave more airtime
|
||||
for WiFi.
|
||||
|
||||
config BLE_SCAN_WINDOW_MS
|
||||
int "Scan window (ms)"
|
||||
default 80
|
||||
range 3 10240
|
||||
help
|
||||
Duration of each active scan window. Must be <= scan interval.
|
||||
Default 80 ms gives 80% duty cycle (up from 50% with previous
|
||||
defaults) without starving WiFi TX.
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user