同时BLE连接 [英] Simultaneous BLE connection

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

问题描述

如何通过CSR8510之类的蓝牙芯片组确定最大可能同时进行BLE连接的数量.其中CSR8510充当BLE主设备,终端设备充当BLE从设备.

How to determine maximum number simultaneous BLE connection possible with a Bluetooth Chipset like CSR8510.Where CSR8510 act as a BLE Master and end device act as a BLE slave.

我们应该考虑确定哪些参数?

What should all parameter we consider to determine?

推荐答案

没有HCI协议消息可获取此号码.您需要使用LE Create Connection Command创建到从站的连接,直到收到HCI错误0x09(超出连接限制)为止.

There is no HCI protocol message to get this number. You need to create connections with LE Create Connection Command to slaves until you get the HCI error 0x09 (Connection Limit Exceeded).

在主模式下,CSR8510可以具有5个从设备连接.在从属模式下,它可以与主设备建立1个连接.在从属模式下具有连接时,在主模式下不能具有任何其他连接.在主模式下建立连接时,它无法启动可连接的广告.在从属模式下进行连接时,它无法开始以主设备身份启动连接.

The CSR8510 can have 5 connections in master mode to slave devices. It can have 1 connection in slave mode to a master device. While it has a connection in slave mode, it cannot have any other connection in master mode. When having a connection in master mode, it cannot start connectable advertising. When having a connection in slave mode, it cannot start initiating a connection as master.

通常,蓝牙版本之间存在差异.在蓝牙4.0中存在以下限制:

In general, there is a difference between Bluetooth versions. In Bluetooth 4.0 there were these limitations:

•连接状态中的链路层不得在 主角色和从角色同时出现.

• The Link Layer in the Connection State shall not operate in the Master Role and Slave Role at the same time.

•链接层中的 以从属角色运行的连接状态应只有一个 连接.

• The Link Layer in the Connection State operating in the Slave Role shall have only one connection.

•如果链路层已经在连接状态"或正在启动"中进行操作 状态,链接层不得在广告状态下以以下类型运行: 广告,可能导致链接层进入连接状态 在奴隶角色中.

• If the Link Layer is already operating in the Connection State or Initiating State, the Link Layer shall not operate in the Advertising State with a type of advertising that could result in the Link Layer entering the Connection State in the Slave Role.

在Bluetooth 4.1中,这些限制已删除.但是,不需要控制器支持多种状态的所有组合.可以在 https://www.bluetooth.org中找到特定控制器支持的状态组合./tpg/listings.cfm .

In Bluetooth 4.1 these limitations were removed. However, controllers are not required to support all combinations of multiple states. What state combinations are supported for a particular controller can be found at https://www.bluetooth.org/tpg/listings.cfm.

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

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