Multiple Bluetooth Connection

How to connect Multiple Bluetooth Device by using SPP?

Here's the solution:

The issue was described above that on socket disconnect only one of the BT device was disconnecting. To resolve the situation, what I did is, I saved the socket in a concurrent list whenever it's created and connected.

So when the disconnect happens, I disconnected all the sockets from the list which are connected. This way it disconnects all the BT device.

Thanks.

Connect Multiple Bluetooth Speakers with Raspberry Pi

Palm,
even so this a old post, it is not yet closed.
As I just got the same issue, here my answer.
What you try to do is to connect mutliple audio sreaming services (Speakers) to 1 audio bluetooth source, that is not possible like this. Therefore your PC only connects to the first box.
You could try multiple bluetooth dongles, but then you run into the timing issue with audio stream syncronization between the boxes.
The only solution is to use Bluetooth 4.1 upwards master-slave services.
Therefore the Speakers need to be connected to each other and seen as 1 device from the PC. In that mode the stream is skewed to ensure syncronous playing.
Many new Bluetooth speakers support this mode.
Hope that helped.

Can you establish multiple Bluetooth connections between the same two devices in Android?

AFAIK, multiple connectivity is not possible in case of Bluetooth Connection. Bluetooth is Connectivity API is by default Synchronized so only one connection at a time is possible. So you can not perform multiple connections.

However it can be possible in another way like making one connection , performing 2 seconds operation on it and then creating another connection and performing 2 seconds operations like in normal multitasking operating system happens.



Related Topics



Leave a reply



Submit