perf: tune BLE scanning performance, switch over to NimBLE

This commit is contained in:
2026-05-21 21:50:00 +02:00
parent 52cfd9ce33
commit cf1db45c18
9 changed files with 500 additions and 684 deletions
+21
View File
@@ -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