Gatttool:仅限5个连接?

3

我使用Python中的pexpect生成gatttools来连接五个设备。当我手动尝试连接第六个设备(使用相同的CSR 4.0 dongle进行所有连接)时,遇到以下问题:

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。
参考: - 直接使用C文件而不是Pexpect: Multiple BLE Connections using Linux and Bluez 5.0 - Pexpect: https://gist.github.com/nouyang/2a6a733d8facd23115a4 - 设置/Pexpect代码的解释:PYTHON -> ADAFRUIT NRF8001 BLUETOOTH LOW ENERGY BREAKOUT IN 20 MINUTES
1个回答

3

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

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

问候, Martin Rösch

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


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接