BLE多个连接 [英] Ble multiple connection

查看:762
本文介绍了BLE多个连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能通过蓝牙低耗能连接多个传感器标签?在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 <一的灵感来自三星栈href="http://stackoverflow.com/questions/18011816/has-native-android-ble-gatt-implementation-synchronous-nature">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

希望这有助于

这篇关于BLE多个连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆