【问题标题】:Gatttool: Limited to 5 connections?Gatttool:限制为 5 个连接?
【发布时间】:2014-10-01 08:54:40
【问题描述】:

我通过在 python* 中使用 pexpect 生成 gatttools 来连接到五个设备。当我尝试手动连接到第六台设备(对所有连接使用相同的 CSR 4.0 加密狗)时,我遇到:

sudo gatttool -b DC:05:4F:BC:F6:4A -It random
[DC:05:4F:BC:F6:4A][LE]> connect
Attempting to connect to DC:05:4F:BC:F6:4A
Error: connect error: Too many links (31)

这是 gatttool 限制还是硬件限制?我在http://git.kernel.org/cgit/bluetooth/bluez.git 克隆了源代码并运行了grep -r "attempting",但没有得到任何结果。

我想通过低功耗蓝牙连接到 20 台设备,我认为这在硬件和固件方面应该是可行的。

=====

系统设置:Ubuntu 14.04、bluez v5.20、CSR 4.0 dongle、adafruit ble nrf8001 breakout。

参考

【问题讨论】:

    标签: linux bluetooth bluez gatt


    【解决方案1】:

    啊! linux-bluetooth 列表中的某个人回答了我的问题,虽然我还没有自己验证:

    这是 CSR 加密狗的硬件限制。不久前我使用 bluetoothctl 做了一个类似的测试:使用 CSR dongle,只有 5 个蓝牙 LE 设备可以连接。使用 Broadcom 加密狗 (BCM20702),我可以建立 14 个并发连接。然后我的蓝牙 LE 设备用完了....

    问候, 马丁·罗施

    http://thread.gmane.org/gmane.linux.bluez.kernel/51872

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-18
      • 1970-01-01
      • 1970-01-01
      • 2012-09-20
      • 2016-08-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多