I want to disconnect from a wifi direct group after establishing a connection. I just want to move out silently without interrupting other clients that are already in connection with the Group owner.
I use manager.Connect() method to establish a connection. But didnt see any methods to disconnect. Only other option i saw is manager.removeGroup(), but I guess this will remove the entire group and interrupt the existing network connection.
How can I do this properly?
Thanks
The first parameter of the function removeGroup() is a channel. So I think if this is initiated by a client, only the channel between the client and group owner will be disconnected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With