最大无。使用中的BlueZ连接BLE [英] Maximum no. of BLE Connection using BlueZ

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

问题描述

Q1。是否有BLE中央设备的连接限制,同时连接到BLE使用5.34的BlueZ外设?

Q1. Is there a connection limit for BLE Central Device while connecting to BLE peripherals using BlueZ 5.34?

我的问题是使用没有的BlueZ白名单一般的连接能力。

My question is for general connection capabilities using BlueZ not white list.

Q2。如果没有。连接取决于控制器。有没有找到最大限制的一种方式?

Q2. If the no. of connection depends on the controller. Is there a way of finding the Max limit?

Q3。难道/可在主机或的BlueZ添加Bluedroid限制最大无。 LE的连接控制器支持?

Q3. Does/Can the host BlueZ or Bluedroid add limit to the max no. of LE connections supported by the controller?

Q4。如果没有为LE设备连接限制,什么是笔者的没有内在的极限为块下段引用的意思。

Q4. If there is a connection limit for LE devices, what does the author mean by "no inherent limit" as block quoted in the para below.

这是罗宾·海顿BLE开发者手册信息

Info from Robin Heydon BLE Developer's handbook

这还意味着,应该没有固有的限制装置的给定设备可以在同一时间通话的数量。如果设备想跟另一台设备,那么它应该仅仅是能够做到这一点,而不是担心,只有7,可以在同一时间,这是经典的蓝牙施加的限制连接可能的奴隶。

It also means that there should be no inherent limit to the number of devices a given device can talk to at the same time. If a device wants to talk to another device, then it should just be able to do that, not worry that there are only seven possible slaves that can be connected at the same time, which is the limit imposed by classic Bluetooth.

实验:
如在下面的参考文献可见,我也使用不同的控制器,32为可插式usb4btle和24,用于内部蓝牙适配器时所看到的各种LE白名单尺寸。 (使用的命令:hcitool lewlsz)
在我的测试设置中,我能够连接到12 BLE设备。(我有最多12 BLE外设)。我在Ubuntu 15.04使用5.34的BlueZ并用可插拔usbbt4le加密狗。

Experiments: As seen in the references below, I also have seen various LE white list sizes when using different controllers, 32 for plugable usb4btle and 24 for internal Bluetooth adapter . (Used the command: hcitool lewlsz) In my test setup I was able to connect to 12 BLE devices.(I had max 12 BLE peripherals). I was using BlueZ 5.34 in Ubuntu 15.04 and used plugable usbbt4le dongle.

<一个href=\"http://stackoverflow.com/questions/25193975/gatttool-limited-to-5-connections\">Reference

参考

推荐答案

我来对这个问题......这是混乱的。

I've come against this issue... it's messy.

A1。连接限制是基于硬件。我用被限制为3和其他人,似乎晃过7设备。

A1. The connection limit is based on the hardware. I've used devices that are limited to 3 and others that seem to go past 7.

A2。这些设备都应该当您试图建立超越硬件能够支持什么连接返回错误。不同的设备报告不同的错误,但它们通常是一些涉及到资源耗尽。不过,我使用的不报告任何错误,事情只停留超过一些未知的限制时,一段时间后,正常工作的设备。我遇到了一些连接停止返回通知。所以,这一切都取决于你是否有一个精心设计和乖巧的控制器。

A2. The devices are supposed to return errors when you try to establish a connection beyond what the hardware is able to support. Different devices report different errors but they're usually something related to running out of resources. HOWEVER, I've used devices that DO NOT report any error and things just stop working properly after a while when exceeding some unknown limit. What I encountered was some of the connections stopped returning notifications. So, it all depends on whether you have a well-designed and well-behaved controller.

A3。不知道我理解的问题...等的BlueZ拉不添加任何种类的限制自己。

A3. Not sure I understand the question... BlueZ et la don't add any sort of limitations themselves.

A4。有没有关于连接的数量设计限制在BLE。然而,大多数消费者不需要连接到100个器件所以蓝牙加密狗倾向于仅包含必要的资源,以保持连接的一个更小的数字。所以,这是完全依赖于制造商为他们想要多少设备来支持。

A4. There's no design limitation in BLE regarding the number of connections. However, most consumers don't need to connect to 100 devices so bluetooth dongles tend to only contain the necessary resources to maintain a much smaller number of connections. So, it's completely dependent on the manufacturer as to how many devices they want to support.

记住,每个连接需要保留状态信息之类的东西白名单也需要内存来存储硬件。内存需要的硬件和硬件成本钱。由于大多数加密狗是相对便宜的制造商必须根据需要与硬件它们可以最少的操作的尽可能多的竞争。和测试还需要时间和金钱,连接限制通​​常不会出消费者来攻击。

Remember, each connection requires the hardware to retain state information and things like whitelists also require memory to store. Memory requires hardware and hardware costs money. Since most dongles are relatively cheap the manufacturers have to compete by doing as much as needed with the least amount of hardware they can. And testing also takes time and money and connection limits aren't usually something consumers come against.

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

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