Download wpa cli file for android

broken image
broken image

New P2P interface will be created, you can check using ifconfig.Either Terminal-1 or Terminal-2 will become P2P-GO(SoftAP), other terminal will act as P2P-Client. Here tie-breaker bit will be set, since the GO_INTENT values are same.> status # This will print the connection status You can choose any channel by changing the frequency to 2.4GHz/5GHz bands.Who is having higher GO_INTENT will be come P2P-GO, the lowest one will become P2P-Client.Here GO_INTENT value is very important.> p2p_connect pbc auth go_intent=7 freq=2412 #channel-1 > # here you can use p2p commands as mentioned below on each terminals

broken image

> #here you can use p2p commands as mentioned below wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_nf -Bd Note: Terminal1-1/ Terminal1-1 means Personal Computer or Android Phones/Tablets(rooted). # wpa_supplicant to use only channel 1 rather than # optional, can be useful for monitoring, forces # number indicates preference to become the GO. # If you need to modify the group owner intent, 0-15, the higher #ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi # For Android Terminals un-comment below line & comment above Line Please read my previous posts for the basic knowledge about wi-fi direct and wpa_supplicant. How to Setup Wi-Fi Direct on Android/Ubuntu Terminal – Part3