wpa_cli: connect 3 device in a p2p group with WiFi Direct
j at w1.fi
Wed Dec 17 12:46:21 EST 2014
On Wed, Dec 17, 2014 at 04:27:11PM +0000, Stefano Cappa wrote:
> i can connect two p2p Android devices with this commands:
> device1) p2p_connect "address_2" pbc persistent
> device2) p2p_connect "address_1" pbc persistent
> With this two commands, on device 1 (Group Owner) i get this message:
> AP-STA-CONNECTED "address_2" p2p_dev_addr="address_2"
> But now i have another Android device, called for example "device3".
> Which is the correct commands on device 1, 2 and 3 to create a group of three devices where device 1 is the GO?
> device1) ????
WPS_PBC or WPS_PIN on the group interface to authorize a new P2P Device
to join the group as a client.
> device2) probably nothing, because is only a client ;)
> device3) ????
P2P_CONNECT with " join" added to the end to request joining an existing
group rather than initiating a GO Negotiation to form a new group.
(and likely that dev3 starting first and dev1 reacting to the message
indicating that someone else wants to join)
Jouni Malinen PGP id EFC895FA
More information about the HostAP