我对 Android 中的 Piconet 有一些疑问:
是否可以使用蓝牙 Android API 将一个从站发送的数据广播到 Piconet 中的所有(主站和从站)?如果可能的话,它是如何运作的?是先到master再到所有slave,还是slave直接联系其他slave?
一台设备可以连接到两个或多个不同的微微网吗?
如果master宕机了,它能自动委托(delegate)给其他slave吗?
仅供引用,我在 Android 手机上同时使用主站和从站。
最佳答案
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?
在微微网中,您有一个主设备和 7 个 Activity 从设备,蓝牙广播从主设备到所有从设备 - 在 Android 中,没有 API 供应用程序使用广播功能。 从站只能直接与主站对话。它是一个星形拓扑,Master 与 Slave 通信,Slave 与 Master 通信。
Can one device connect to two or more different piconet?
是的 - 你可以在一个微微网中成为主站,在其他微微网中成为从站 或者不同微微网中的从站
If the master is down, can it delegates automatically to other slave?
没有
关于Android 蓝牙微微网广播数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6891386/