问题
sometime when I try to create a group in WifiDirect it returns back
WifiP2pManager.BUSY
message as reason for failure. I am not sure why this happens.
But if I restart the WIFI interface it will again work. What could be the possible reason for this? How this can be avoided? is there any way to overcome this if it ever happens?
Thanks
回答1:
In my case I was getting this error because I was not removing the group before trying to create it again. In that case the WifiManager is returning a BUSY state. But once i tried to close the group before recreating a new one it works fine.
Hope this helps someone.
来源:https://stackoverflow.com/questions/13252573/wifip2pmanager-return-busy-state-on-creategroup