1

I am trying to set up bluetooth so that I can play music from both my phone and my computer in alternation (ie, if I want to go in the other room on a call where the phone stops playing, i can switch over to my computer without disconnecting and reconnecting).

The first step in this is to connect two devices simultaneously, are there any packages which exist for this on raspberry pi and if not does anyone know how I would go about editing blueman or bluez or pulse audio to start this??

Thanks!

Matt

  • First of all, which raspberry do you have? – Mattia Righetti Jun 24 '18 at 23:00
  • Well, you already named the packages you need. Can you explain where you are stuck? – Dmitry Grigoryev Jun 25 '18 at 8:36
  • Thank you guys! I have a sero and a 3, each running on raspbian stretch 9.1 – Matt Sciamanna Jun 27 '18 at 5:29
  • I have actually gotten two devices connected I'll update below – Matt Sciamanna Jun 27 '18 at 5:29
0

This isnt the whole path to the final product i discussed above, but for the meat of the question - How to connect two devices at once - all you need to do is change your rasp to a master device. Masters can connect to multiple slaves in the same piconet

the linux command for this is

hciconfig hci0 lm master,accept

make sure the 0 is correct it could actually be any number

  • I wonder why that is not the default … – Matthias Urlichs Jan 14 at 19:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.