Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there anyway in which I can set the SSID and passphrase of my choice in wifi direct group creation

I want to create a p2p connection between a normal android WiFi device and another android device with WiFi direct support. Am successfully able to create a group(uisng createGroup of WifiP2pManager) and using the SSID and pass phrase given by the android I am also successfully able to connect a normal WiFi device to my WiFi-direct enabled device( in which I created group using wifi direct apis). But here android gives some random WiFi SSID and pass phrase , which results in me looking at the adb logs always for SSID name and then entering in the other device.

Is there anyway in which I can set the SSID and passphrase of my choice?

Thanks Kozlov

like image 806
Kozlov Avatar asked Dec 29 '25 06:12

Kozlov


1 Answers

requestGroupInfo() enables you to get both the SSID and passphrase, however, I don't think it's possible to adjust these (yet)..

like image 94
user2139927 Avatar answered Dec 31 '25 21:12

user2139927