在Android客户端/与同行交流的wifi直 [英] Clients/Peers communication with wifi-direct on Android

查看:117
本文介绍了在Android客户端/与同行交流的wifi直的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有三个Android设备:A,B和C.它们是通过WiFi直接连接(假定B是该组的所有者)。我有两个问题:

  1. 能否B与作为客户端的另一个WiFi的直接组?
  2. 可以A或C作为客户端连接到另一个无线直接组?
解决方案

我已经3天前测试您的问题。

  1. B能够连接到设备D仅当D是不是有些组的拥有者,并为此d将会加入到B的组作为一个客户端。

  2. 当A / C接入的客户端,到B时,他们会尝试发送连接请求发送给一些设备D,请求将被转发到论坛版主B至接受连接,并增加D钮该集团还。 (这种情况下测试,当D是B和A / C的范围内)。 当D是不是在B的范围,但在A / C的范围内,A / C的请求将被取消和的A / C与B就断开连接。

这是试图理解的wifi直接的行为时,我们所面临的情景。

希望我帮你。 如果有人测试它,知道别的东西,我会AP preciate知道这一点。

I have three Android devices: A,B,and C. They are connected via wifi-direct (assuming B is the group owner). I just have two questions:

  1. Can B connect as a client to the another wifi-direct group?
  2. Can A or C connect as a client to the another wifi-direct group?

解决方案

I've tested your issues 2 days ago.

  1. B can connect to device D only if D isn't owner of some group, and therefor D will be joined to B's group as a client.

  2. When A/C are connected to B as clients, when they'll try to send connection request to some device D, the request will be forward to the group owner B to accept the connection and to add D to the group also. (this scenario tested when D was in the range of B AND A/C). when D isn't in the range of B but in the range of A/C, the request of A/C will be cancel and the connection of A/C with B will disconnect.

that's the scenario we were facing when trying to understand the behavior of wifi direct.

Hope that i helped you. If someone test it and know something else I would appreciate to know it.

这篇关于在Android客户端/与同行交流的wifi直的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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