Clients/Peers communication with wifi-direct on An

2019-06-16 06:08发布

问题:

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.