spietika / meta-rpi-bt-dac

Yocto layer to build Bluetooth DAC image for Raspberry Pi Zero W + pHAT DAC
Other
36 stars 8 forks source link

autoconnect not working #5

Open langstonmeister opened 4 years ago

langstonmeister commented 4 years ago

So far I'm really liking this project, but I can't get my phone to autoconnect to the device.

Using a Pi Zero W, and I've gone into the bluetooth settings and made my phone trusted, but it still isn't working on boot. I have to manually connect each time. Thanks!

spietika commented 4 years ago

Is it possible that there are multiple paired devices saved on the Pi? Currently the autoconnect functionality is really simple and it basically always tries to connect to the first paired device: https://github.com/spietika/meta-rpi-bt-dac/blob/master/recipes-core/dac-config/files/autoconnect.sh