且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有多少设备,我们可以通过BLE蓝牙配对到Android?

更新时间:2023-01-23 23:40:24

这两个位置都想要,所以我想我应该加一的答案:

Both of the answers here are wanting so I thought I should add one:

有建于不同的BLE硬件连接的限制。我想我已经遇到的最低的则是3个连接一次,最高约为12-13连接。这是由于硬件的设计上的限制,不得不无关,与正在使用的操作系统,虽然。通常的限制是由于,该硬件具有跟踪某些数据的事实,并有一个在硬件有限的存储器量。

There are connection limitations built in to the different BLE hardware. I think the lowest I've encountered is 3 connections at once and the highest was about 12-13 connections. These were limitations due to the design of the hardware and had nothing to do with the OS being used, though. Usually the limitation is due to the fact that the hardware has to keep track of certain data and there's a limited amount of memory in the hardware.

所以,我不知道具体的机器人,但它并没有多大意义了限制在操作系统级别的罚款。可能当您尝试进行连接,并且你已经达到了极限,由于硬件,您会收到错误/异常$ P $的某种pventing新的连接。我认为,实际上是一个连接限制错误的蓝牙,但一些硬件为其他异常,如资源不足。同样,我不知道如何获取对Android的水平体现出来。

So, I don't know specifically for Android, but it doesn't make much sense for a limitation to be imposed at the OS level. Likely when you try to make a connection, and you've reached the limit due to the hardware, you should receive some sort of error/exception preventing the new connection. I think there's actually a "connection limit" error in Bluetooth, but some hardware gives other exceptions like "out of resources". Again, I'm not sure how that gets reflected on the Android level.