cwi-dis / lissabon

Off-grid lighting control
1 stars 0 forks source link

BLE scanning monopolizes radio (and uses too much power) #5

Closed jackjansen closed 2 years ago

jackjansen commented 3 years ago

In IotsaBLEClient, if a known device is offline, it will scan continuously (except for the ble/wifi radio sharing implemented at the low level).

If this happens connecting to a known network may still work, but creating a softAP doesn't. Also, this eats batteries.

We should hold off scanning at some point, even if we haven't found all devices yet.

jackjansen commented 2 years ago

This appears fixed by switching to nimble.