无线网络直接(安卓4.0)与多个(3+)设备 [英] WiFi Direct (Android 4.0) with multiple (3+) devices

查看:104
本文介绍了无线网络直接(安卓4.0)与多个(3+)设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜欢这里:<一href="http://stackoverflow.com/questions/9206043/automatic-authentication-for-android-wifi-direct">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)?

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

这篇关于无线网络直接(安卓4.0)与多个(3+)设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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