Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Bluetooth Drop outs
#2
Hey,

I can reproduce this behavior on my Pi Zero 2 W. This happens for me when the Pi is using it's built in WiFi while receiving music over the built in bluetooth module.
According to this post on the volumio forum, it's caused by interference. The guy also provided a solution that works for me: Disabling WiFi while using bluetooth.

This can be done automatically by modifying the a2dp-autoconnect script to have the following content:


Code:
BTMAC=${NAME//\"/}
if [[ $ACTION = "add" ]]; then
       sudo ifconfig wlan0 down
       sudo systemctl start bluealsa-aplay@$BTMAC
elif [[ $ACTION = "remove" ]]; then
       sudo systemctl stop bluealsa-aplay@$BTMAC
       sudo ifconfig wlan0 up
fi

This disables the WiFi when your phone connects and turns it back on once the phone is disconnected
Reply


Messages In This Thread
Bluetooth Drop outs - by gwurb - 12-19-2021, 06:45 AM
RE: Bluetooth Drop outs - by Wollwolke - 01-11-2022, 08:24 PM

Forum Jump: