User avatar
Douglas6
Posts: 5027
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Another How to turn your Pi in a Bluetooth Speaker Tutorial

Sun Jul 04, 2021 8:44 pm

This tutorial does some arguable things to your Pi. More importantly for you, it does nothing to address telephones on the Pi.

You'll want to

Code: Select all

sudo apt install ofono
Ofono handles the telephony side of things. I've just started playing with it myself. It does the things you're asking for.
Don't forget to unpair and re-pair your Pi and phone after installing Ofono.

yomguy
Posts: 3
Joined: Fri Sep 07, 2012 11:09 am

Re: Another How to turn your Pi in a Bluetooth Speaker Tutorial

Fri Jul 16, 2021 7:10 am

So great, thanks!
FYI I just had to do a

Code: Select all

rfkill unblock all
before

Code: Select all

power on
.

PrettyFlyForAFatGuy
Posts: 5
Joined: Thu Mar 14, 2019 3:44 pm

Re: Another How to turn your Pi in a Bluetooth Speaker Tutorial

Wed Jul 28, 2021 6:16 pm

This works on the Tinkerboard S too up to (and including) section 6

drpepper45
Posts: 1
Joined: Wed Aug 11, 2021 9:55 pm

Re: Another How to turn your Pi in a Bluetooth Speaker Tutorial

Wed Aug 11, 2021 10:01 pm

Great tutorial, thank you so much!

I am running into an issue though: if I do "Forget This Device" from my phone, the bluetooth unpairs but the rapsberry pi stores the MAC address of that device, so that the following time I want to pair it, it gives me an error "Pairing Unsuccessful". The only way around it is to manually remove the MAC address from that device from the raspberry pi. Is there a way to have the pi automatically remove any known devices when they disconnect? Or any other way around?

I know I should only do "disconnect" instead of "forget this device" but I am trying to make this as robust as possible.

PS: I would add in this tutorial how to edit the bluetooth name of the device (see here: https://www.hackster.io/highvoltages/ho ... ame-aa5966)

Return to “Media centres”