WifiP2pManager return BUSY state on CreateGroup

巧了我就是萌 提交于 2019-12-05 19:15:39

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!