Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect multiple devices via Bluetooth on Android (Multiple BLE connections)

I am trying to create Client-Server connection network over android devices via blue-tooth(as the connection platform).One device acting as Server and other 4 or five devices as Clients.I have tried many examples from git-hub repository but there is no multi-connectivity implementation.Here is the link I tried for multi connection via blue-tooth https://github.com/arissa34/Android-Multi-Bluetooth-Library

like image 909
Tejaswini Jonnavithula Avatar asked Oct 25 '17 08:10

Tejaswini Jonnavithula


People also ask

Can you connect to multiple BLE devices?

x protocol SPEC, when the iPhone/Android phone play as role of BLE central mode, the limitation to have active connection at the same time is up to 8 devices.

How many BLE devices can Android connect?

Client devices typically support a limited number of pairings, anywhere between 1 and 5, and only one single connection. They act like a wireless client, you can save many different networks but only connect to one at a time.

Can an Android phone connect to multiple Bluetooth devices?

Most Android devices can connect to two or five Bluetooth devices simultaneously, while others support up to seven devices. The number of supported connections depends on the Bluetooth module your device is equipped with. Obviously, the newer the hardware, the more Bluetooth devices you can connect to.

Can Bluetooth handle multiple connections?

Bluetooth headphones and speakers can't connect with multiple devices at a time. Just think of how making multiple phone calls to multiple devices at once is not possible. If your headphones are already connected to one mobile device, they cannot be simultaneously connected with another mobile device.


1 Answers

First of all, you have to notice this library is for socket communication using RFCOMM protocol which is not Low Bluetooth https://en.wikipedia.org/wiki/List_of_Bluetooth_protocols

If you want help, I need more informations, as your android version, a piece of your code and your logs as well.

Moreover, you can see this library in work on this game https://play.google.com/store/apps/details?id=com.drgames.domino Using one server and 3 clients in bluetooth.

like image 174
Rami Avatar answered Oct 18 '22 03:10

Rami