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!
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With