Closed klutchell closed 3 years ago
[klutchell] This issue has attached support thread https://jel.ly.fish/151e8524-cc67-451d-acad-37af75f5e3f2
Nice, I think if paired devices are now being persisted we can use dbus to attempt the reconnect. I'll give it a shot.
Needs a tad bit more testing, but so far it works great. PR up here: #10
Hi @tmigone , thank you for your help with this issue.
How does my balenasound device (Rpi4) receive the changes? Do I need to perform an update or anything?
Thanks!
Recent releases of balenaOS will "remember" connected devices in
/var/lib/bluetooth
.https://github.com/balena-os/meta-balena/commit/3815e42f24167c0ce84a39cf0653434bacb0bd88
I've confirmed this on the following device:
However, this bluetooth block does not reconnect to devices automatically after a power cycle. I suspect this is something that can be added via this block, but if balenaOS changes are required we can open a new issue there.
Note that this was previously fixed in balenaSound before it started using this bluetooth block.
https://github.com/balenalabs/balena-sound/commit/78a727a9f406c05946028f69458849ad1c4eaa45
Not sure if the same fix would apply to this block since it looks like we are now relying on the host OS for more components.