title: How to connect multiple speakers together and connect to a phone at the same time?
body: <p>Is it possible to connect 4 speakers together and these 4 speakers need to connect to a phone to play music ? I don't need the 4 speakers to play music at the same time. </p>
  
  <p>I just want 1 of the 4 speakers to play music, but I need to control which one should play the music (The closest speaker to the phone should play only).</p>
  
  <p>I want 4 speakers to be able to communicate with each other to vote for 1 speaker to play the music, that's why I need to connect those speakers together. There is no application required for the phone to choose the right speaker, the speakers have to choose for themselves.</p>
  
  <p><strong>UPDATE 1:</strong>  </p>
  
  <ol>
  <li><p>To communicate between speakers I will create a <code>piconet</code> between them. The speakers then update their distance to the phone to each other. The closet speaker will play music.  </p></li>
  <li><p>To calculate the distance, I wonder if I could use the <a href="https://developer.bluetooth.org/TechnologyOverview/Pages/PXP.aspx" rel="nofollow">Proximity Profile</a>. Is it possile to use <code>Proximity Profile</code> to calculate distance in which the Phone is <code>reporter</code> and speakers are <code>monitors</code>?  </p></li>
  </ol>
  
  <p>Assume the 2 points are possible. Can I just disconnect a playing speaker and connect another speaker to the phone to switch playing music role?</p>
  
  <p>Steps are as bellow:<br>
  Speaker 1 is playing music -----> phone is moving toward speaker 2.<br>
  Speaker 1 disconnects to the phone, speaker 2 connects to the phone.<br>
  Speaker 2 is playing music, speaker 1 stops.  </p>
  
  <p><strong>UPDATE 2:</strong><br>
  I gave up the idea of making the speaker so intelligent. Instead, I will have an application running on the smart phone to take care of distance monitoring and switching to nearest speaker.</p>
  
  <p>I will accept the answer from @Floris to close this question.
  Thanks</p>