无线网络直接(安卓4.0)与多个(3+)设备多个、无线网络、直接、设备

2023-09-12 21:46:59 作者:浸婚纱

喜欢这里:Automatic 我想创建一个移动自组织无线网络的Andr​​oid设备为Android的WiFi直接认证。 但不同的是链接的问题上面我想用这是由于Android 4.0速效官方Android的WiFi直接的API。

那么,有没有一种方法,既连接通过WiFi直接2设备,而且三个或更多?这样的消息可以从一个设备传递到另一使用几个其他装置之间(因此跨越发送者和接收者之间更大的距离)?

借助无线直接演示仅适用于配对两个设备,我无法找到一种方法做别的。

谢谢!

解决方案   

有没有一种方式,不仅可以通过WiFi直接连接2个设备,而且三个或更多?

是的,在Wi-Fi直连的规格说明它可以创建一个1对多的连接。其中一个设备将作为一组拥有者(认为它作为一个接入点)。 我已经能够在某些测试中创建一个Wi-Fi直连网络3设备。

由于所有的设备都必须在该组所有者的范围内,你确信你的消息将到达第二个客户端。 第一个客户 - >组的所有者 - >第二客户端

Like here: Automatic authentication for Android WiFi Direct I want to create a mobile ad-hoc Wifi network with Android devices. But unlike the linked question above I want to use the official Android WiFi Direct API which is availabe since Android 4.0.

So is there a way to not only connect 2 devices via WiFi Direct but also three or more? So messages could be passed from one device to another using several other devices in between (therefore spanning a larger distance between the sender and receiver)?

升级版 摩奇MINI PC 无线网络播放器 安卓4.0 硬盘4G 内存1G

The Wifi Direct demo only works for pairing two devices and I could not find a way to do anything else.

Thanks!

解决方案

Is there a way to not only connect 2 devices via WiFi Direct but also three or more?

Yes, the Wi-Fi Direct specifications explain it is possible to create a 1 to many connection. One of the devices will act as a group owner (think it as an access point). I have been able to create a Wi-Fi Direct network with 3 devices during some tests.

As all the devices have to be in the range of the group owner, you are sure that your message will arrive to the second client. 1st client -> group owner -> 2nd client