I am trying to establish connection between my laptop and Android device using wpa_cli. I tried differen combinations of wpa_cli commands to connect but coud not do so. The commands I am running on my laptop are as follows:
First combination:
p2p_find 10
Output:P2P-DEVICE-FOUND -------
p2p_peers
Output: Android device addr -------
p2p_prov_disc pbc
Output: My laptop is visible on android peer devices list -------
p2p_group_add
Output: AP-ENABLED -------
wps_pbc
Output: WPS-PBC-ACTIVE -------
After running these commands, I am getting following error:
*"P2P-DEVICE-LOST p2p_dev_addr=-----
WPS-TIMEOUT"*
Second combination:
p2p_find 10
Output:P2P-DEVICE-FOUND -------
p2p_prov_disc pbc auto
Output: My laptop is visible on android peer devices list -------
p2p_connect pbc go_intent=15
Output: On Android device the connection state changes to INVITED -------
I am not sure, if I am missing something.
Any help ??
Thanks.