Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Bluetooth API connect to multiple devices

Is it possible for us to connect multiple devices ? who can share the code for me! This problem has troubled me for a long time! Thanks!

like image 334
user545755 Avatar asked Dec 17 '10 07:12

user545755


People also ask

Can I connect multiple devices to Bluetooth Android?

Android users need to go to Bluetooth Settings and pair either Bluetooth headphones or speakers one by one. Once connected, tap the three-dot icon on the right and click on Advanced Settings. Toggle on the 'dual audio' option if not already turned on. This should enable users to connect to two devices at once.

Can you connect to 2 devices at the same time with Bluetooth?

Bluetooth multipoint lets your headset connect to two source devices at once. Bluetooth multipoint was introduced with the release of Bluetooth 4.0, over ten years ago. It's a feature that allows a single Bluetooth headset to maintain simultaneous connections to at least two source devices like a laptop and smartphone.

Can Bluetooth 4.2 connect to multiple devices?

There is no limit to the number of simultaneous connections for a BLE device in the Bluetooth Specification document for 4.2 and 5.0 versions.


1 Answers

I would say that code isn't the problem. The correct implementation is managing a thread for each connection however I have found that the number of devices you can connect to simultaneously is limited based on the phone's implementation of Bluetooth. Bluetooth spec states 7 devices can be connected however I have found android phones that can only handle 1 bluetooth connection while others can handle 6. It would really help the Bluetooth development community if someone from the Android development team could go more in depth here.

like image 71
user1286653 Avatar answered Oct 01 '22 19:10

user1286653