我们一次最多可以通过蓝牙与安卓设备配对多少台设备? [英] How many maximum device can we pair via Bluetooth to android device at a time?

查看:32
本文介绍了我们一次最多可以通过蓝牙与安卓设备配对多少台设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

谁能告诉我一次可以通过蓝牙将多少个最大的设备与安卓设备配对.....我到处搜索,但没有得到正确的答案.

Can anyone tell me how many maximum devices can we pair via Bluetooth to android devices at a time.....i googled every where but i didn't get the right answer.

推荐答案

在一个蓝牙微微网中,一个 master 最多可以与 7 个 active slave 通信,最多可以有其他 248 个设备处于睡眠模式(可能参与通信当另一个活动设备进入睡眠模式时主动).

In a Bluetooth piconet one master can communicate up to 7 active slaves, there can be some other up to 248 devices which are in sleep mode (may participate to communication actively when another active device goes into sleep mode).

在蓝牙分散网(互连微微网)中,设备数量不受限制.一些奴隶通过参与两个或多个微微网用作桥接器.为蓝牙散射网定义的最先进的拓扑结构之一是 Cube Connected Cycles 架构.

In Bluetooth scatternets (interconnected piconets) number of devices are not limited. Some slaves used as a bridge by participating two or more piconets. One of the most advanced topology defined for Bluetooth scatternets is Cube Connected Cycles architecture.

您可以设置多个蓝牙连接(至少是 RFCOMM 连接).只需为您的连接使用替代线程,它就可以正常工作(我猜)另请参阅:http://developer.android.com/resources/samples/BluetoothChat/index.html

you can set up multiple bluetooth connections (at least RFCOMM connections). Just use a alternative thread for you connection, and it would work fine (I guess) See also: http://developer.android.com/resources/samples/BluetoothChat/index.html

像这样,

Method m = device.getClass().getMethod("createRfcommSocket", new Class[] {int.class});
tmp = (BluetoothSocket) m.invoke(device, 1);

这篇关于我们一次最多可以通过蓝牙与安卓设备配对多少台设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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