0

I want to create an app for multiple clients chatting via WiFi direct.

The key feature I don't know how to do - when owner of a group disconnects, app should transparently for the user create a new group with a new owner and let all clients continue chatting.

I searched the web for the answer, but found only answers like this one. And now I comletely understand what I need to do, but absolutely not sure how to do it properly.

So, looking for a complete solution. Are there any tutorials (or, better, special libs for that?) that describe how to do it properly?

Community
  • 1
  • 1
AlexeyGorovoy
  • 760
  • 5
  • 23
  • What you did and where you stucked? post the code creating issue for narrowing the question – Gopal Singh Sirvi Jul 24 '15 at 09:06
  • I do not have a code yet :) I need to make estimations today about such an app as I described. And I made before only one-to-one connection example, so see that I can stuck with this "transparent group reconnection" feature. – AlexeyGorovoy Jul 24 '15 at 09:10
  • So searching for any existing solutions – AlexeyGorovoy Jul 24 '15 at 09:10
  • How can you search for a problem without having that? – Gopal Singh Sirvi Jul 24 '15 at 09:13
  • Well, it's not a problem, it's a question - Are there any solutions, libraries etc. that simplify using of WiFi Direct's Group feature? – AlexeyGorovoy Jul 24 '15 at 10:59
  • Basically there are no such libraries, so you would need to design it yourself. In general the acceptance dialog there will make the transparent re-connection rather hard to implement. Second issue would be simply designing which device would be the new group owner. – Dr.Jukka Jul 28 '15 at 10:07
  • BTW, if your implementation would allow cutting off the normal WiFi, then you could use the CreateGroup way on creating an access point, that way your device could be GO for multiple clients and client for one GO at the same time, so you could create mesh type network between clients, so losing one GO would likely only effect few devices, which could then do reconnect to exiting network. – Dr.Jukka Jul 28 '15 at 10:09

0 Answers0