Ble multiple connection

2019-02-17 10:15发布

问题:

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?

回答1:

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



回答2:

You're terminology doesn't seem to be quite correct, but if you're trying to ask whether it's possible to connect multiple senrors or similar to one phone, the answer to that should be yes.

I'd recommend you to take a look at this and this, to better understand the roles in BLE.