I have installed balenaos and balena sound on raspberrypi3 using balena cloud ,everything seems fine the device is discoverable but it doesn’t pair successfully.
Hey , first of all thnx for answering .
The device is a Motorola G5S (XT1794), i finally managed to connect trusting and pairing
with phones Bluetooth mac address from console using below commands
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
[NEW] Device XX:XX:XX:XX:XX:XX moto g5s
[bluetooth]# scan off
[bluetooth]# trust XX:XX:XX:XX:XX:XX
[bluetooth]# pair XX:XX:XX:XX:XX:XX
but everytime i want to connect to ras i need to pair it all over again from phone.
Also the sound is Jittery and get errors on log file
bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such process
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 5 != 4
bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such file or directory
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 23 != 22
bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such file or directory
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 25 != 24
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 46 != 45
bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such file or directory
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 64 != 63
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 78 != 76
bluetooth-audio /usr/bin/bluealsa: SBC decoding error: No such file or directory
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 167 != 166
bluetooth-audio /usr/bin/bluealsa: Missing RTP packet: 790 != 789
Support Access UUID
ff717467b4d045f4f76a6792ae4f4457 - 1 day
Hi, regarding the pairing issue, you might be able to improve the process if you enable a PIN code, see here. Regarding the jitter, we have witnessed this on some devices, and are trying to narrow down what causes the problem, but we don’t have a solution yet. What you might want to try is increase the buffer size here and see if that helps.
Hi , thnx for your suggestions and your help.
Pin code actually made it worst didn’t connect at all, i pushed the balena sound and did some updates and the bluetooth works now.
buffer size was the same with the script from the link u send me so that did nothing for me.
I tried a bluetooth dongle but can’t make it to connect to my phone i get errors.
You want to try a bigger buffer than the one specified in the script. That 1M is microseconds (= it’s set to 1 second), so if the sound is choppy, increasing the buffer size to, say, 5M (5 seconds) may help
Also, it would be nice to know which updates you’ve made to balenasound: anything that can help people have a better experience with it, is more than welcome