Android的蓝牙微微网的广播数据 [英] Android Bluetooth Piconet Broadcast data

查看:194
本文介绍了Android的蓝牙微微网的广播数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android的微网方面的一些问题:

  1. 与蓝牙Android的API来广播数据被发送的一个从所有的(主站和从站)微微网中是否有可能?如果可能的话,它是如何工作的?它是否去到主,然后再将所有的奴隶,还是从直接接触其他的奴隶?

  2. 可以将一个设备连接到两个或两个以上不同的微微网?

  3. 如果主机发生故障,它可以自动委托给其他的奴隶?

通知你,我在Android手机同时使用主机和从机。

解决方案
  

与蓝牙Android的API,广播,是由一台从发送的数据将被接收到的所有(主机和从机)微微网中的数据是否有可能?如果可能的话,它如何工作的?它去到主,然后再提供给所有的奴隶,或者直接一个从由一个接触另一个奴隶?

在一个微微网中,你有一个主就对7种有效的奴隶,蓝牙广播作品班主任向所有从站 - 在Android中没有的API,应用程序能够使用广播功能。 从站可以直接与只有掌握。这是一个星型拓扑结构法师交谈,奴隶和奴隶主。

  

能一个装置连接到两个或更多个不同的微微网?

是 - 你能高手在一个微微网,并从其他微微网/秒 或从/ S在不同的微微网/ S

  

如果主机自动关闭,可以将它委托给其他的奴隶?

没有

I have some questions regarding Piconet in Android:

  1. Is it possible with the Bluetooth Android API to broadcast data that was sent by one slave to all (master and slaves) in the Piconet? If it is possible, how does it work? Does it go to the master first and then to all slaves, or does the slave directly contact other slaves?

  2. Can one device connect to two or more different Piconets?

  3. If the master is down, can it delegate automatically to other slaves?

FYI, I'm using both master and slave on an Android mobile phone.

解决方案

Is it possible with bluetooth android API to broadcast data that was sent by one slave and the data will be received to all (master and slave) in the piconet? If it is possible, how does it works? It goes to the master first and then gives to all slave, or slave directly one by one contact another slave?

in a piconet you have one master and unto 7 active slaves, Bluetooth broadcast works form Master to all slaves - In android there are no APIs for applications to use the broadcast feature. Slaves can directly talk to only the master. It is a star topology Master talking to slaves and slaves to Master.

Can one device connect to two or more different piconet?

Yes - You can me Master in one piconet and slave in other piconet/s Or Slave/s in different piconet/s

If the master is down, can it delegates automatically to other slave?

No

这篇关于Android的蓝牙微微网的广播数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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