is it possible to connect multiple sensor tags via Bluetooth low energy? In the app provided by TI, the sensor tag is the server, and app is client. So, it is possible for a single client to connect multiple servers?
Asked
Active
Viewed 1.3k times
6
-
Yes it is possible. But try to google a little more. There have been a zillion questions about this. – allprog Nov 26 '13 at 16:57
-
1can you suggest me any link which can tell me how to do it with Android .i have been searching for this for the past two weeks – Nishant Tanwar Nov 27 '13 at 04:59
-
The official page http://developer.android.com/guide/topics/connectivity/bluetooth-le.html describes how you can scan, connect, discover, etc. peripherals. If you implement the functionality it for one peripheral and consider multiple peripherals in places where it's needed, you'll have the multiple peripheral solution at the end. There's even a video on the page that will explain in detail the whole process. – allprog Nov 27 '13 at 09:55
-
Have a look at [this question](http://stackoverflow.com/questions/21237093/android-4-3-how-to-connect-to-multiple-bluetooth-low-energy-devices/27412693#27412693) regarding multiple BLE connections on Android. – Rain Dec 11 '14 at 16:34
2 Answers
7
YES, it is possible to connect from one application to multiple BLE devices
On the other side, at at the moment, Android BLE stack (BlueDroid) seems to have synchronous nature (may be it is inspired by Samsung stack from 4.2 devices , where this behaviour was documented as discuseed here Has native Android BLE GATT implementation synchronous nature?).
This mean, that if one operation is in progress, othes are ignored, so you have to implement e.g., queue of requests to be sure that just one characteristic read/write is in progress.
More over, Andorid BLE stack is at the moment quite unstable, as discussed in many threads, e.g, here Android 4.3 Bluetooth Low Energy unstable
Hope this helps