Clients/Peers communication with wifi-direct on Android platform

点点圈 提交于 2019-12-08 15:46:59

问题


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. A want send a message to C, does the message have to pass the group owner B to reach C? 2. If the group owner B accidentally disconnected, will A still be able to send messages to C?

Thanks!


回答1:


In Wifi direct communication the P2P group owner (P2P GO) device implements AP-like functionality in the P2P Group., and devices acting as clients are known as P2P Clients. Hence all the communication has to go through the group owner channel.

And once the group owner disconnects, obviously the Routing channel has been killed and hence the group. The clients have to restablish the connection and one of the client becomes the group owner.



来源:https://stackoverflow.com/questions/12277030/clients-peers-communication-with-wifi-direct-on-android-platform

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!