Commit graph

11 commits

Author SHA1 Message Date
J. Nick Koston
a7caa038be
Accept advertisements from alternate scanners when a scanner stops scanning () 2022-11-21 21:23:07 -05:00
J. Nick Koston
7801cd96de
Split bluetooth models into base_scanner and wrappers () 2022-11-20 08:44:28 -06:00
J. Nick Koston
47c66dbed4
Offload platform specific bluetooth code to bluetooth-adapters ()
* Offload platform specific bluetooth code to bluetooth-adapters

* adjust

* fix some more patch targets

* more test fixes

* almost there

* may not be setup yet

* more fixes

* fixes

* fix test

* fix merge
2022-11-17 14:34:19 -05:00
J. Nick Koston
5b09ab93dc
Immediately prefer advertisements from alternate sources when a scanner goes away () 2022-11-01 13:07:03 -04:00
J. Nick Koston
f70f972d88
Fix connectable Bluetooth devices not being seen if the nearest scanner is non-connectable ()
If we saw the non-connectable scanner advertisement first we would reject
the connectable scanner advertisement because it had worse signal strength.

In this case we need to check both
2022-10-17 21:13:26 -04:00
J. Nick Koston
d12cbab6c4
Bump bleak to 0.19.0 () 2022-10-15 13:57:23 -04:00
J. Nick Koston
0c76e3a97e
Automatically determine the advertising interval for bluetooth devices () 2022-10-14 14:39:18 -04:00
J. Nick Koston
488b04fc8b
Handle default RSSI values from bleak in bluetooth () 2022-09-21 17:03:50 -04:00
J. Nick Koston
18eef5da1f
Restore history from bluetooth stack at startup () 2022-09-17 16:58:19 -05:00
J. Nick Koston
3938015c93
Add support for scanners that do not provide connectable devices () 2022-08-22 14:02:26 -04:00
J. Nick Koston
071cae2c0b
Implement auto switching when there are multiple bluetooth scanners () 2022-08-17 12:38:04 -10:00