BLE多个连接多个、BLE

由网友(素年未逝)分享简介:是否有可能通过蓝牙低耗能连接多个传感器标签?在TI提供的应用程序,传感器标签是服务器,应用程序是客户端。因此,它有可能为一个单一的客户端连接多个服务器?is it possible to connect multiple sensor tags via Bluetooth low energy? In the app...

是否有可能通过蓝牙低耗能连接多个传感器标签?在TI提供的应用程序,传感器标签是服务器,应用程序是客户端。因此,它有可能为一个单一的客户端连接多个服务器?

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?

推荐答案

YES,也可以从一个应用程序连接到多个BLE设备

YES, it is possible to connect from one application to multiple BLE devices

在另一边,在那一刻,Android的BLE堆栈(BlueDroid)似乎有同步性(可能是从4.2的设备,其中,这种行为被记录为这里discuseed Has原生Android BLE关贸总协定实现同步特性?)。

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?).

这意味着,如果一个操作过程中,othes被忽略,所以你必须要实现,例如,请求队列,以确保只有一个特征读/写正在进行中。

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.

超多,Andorid的BLE协议栈是目前相当不稳定,在许多线程讨论,比如,这里的 Android的4.3蓝牙低能量不稳定

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

希望这有助于

阅读全文

相关推荐

最新文章