5

hi I am developing an application using wifi Direct . I want to send data from mobile A to mobile B & from mobile B to mobile C & C to D etc using Wifi Direct. I am able to send data from A to B and B to C & C to D,but with access point(group owner). I have done R&D on this and found some links that with out Access Point it is not possible.

Is there any way to approach this kind of data transfer or avoid this limitation or we have any alternative solution or paid SDK .Please help .

Community
  • 1
  • 1
Nithin
  • 503
  • 4
  • 19
  • So why not use the Access Point feature to do a 1-to-many connection? – shkschneider Apr 28 '15 at 09:41
  • the challenge is to work without access point and Share A mobile to E Mobile. A can connect to B with limited distance.simillarly A can't reach C , so i need to send B to C which can be reachable. – Nithin Apr 28 '15 at 09:56
  • 1
    Ok so you want to make *a chain of connections* rather than have a central point. Got it, but I don't know the answer to that. I'll upvote and good luck to you – shkschneider Apr 28 '15 at 10:04
  • 1
    trying for solution,thanks - shkschneider – Nithin Apr 28 '15 at 10:35

1 Answers1

3

Currently on android in wifi-direct, you can only create one-to-many connections (which includes one-to-one). In these connections one guy will become the group owner and other will connect to it. The guy who connected to the group owner cannot be part of another group (though its not explicitly mentioned anywhere, just like you I did my R&D when I was building an app using wifi-direct).

I do not think currently it is possible on android, so there won't be any SDKs available for this. This and connection troubles is one of the major reasons you won't find many apps on Play Store using wifi-direct.

But what you want is possible on Bluetooth (although bluetooth comes with its own sets of limitations of shorter range and less speed). Try reading on Piconet and scatternet. In scatternets, you can create even Many-to-Many connections.

unrealsoul007
  • 3,809
  • 1
  • 17
  • 33
  • 1
    @Nithin Wifi-hotspot also creates an Access point in one of the devices and the other devices connect to the Access Point. Hence, same drawbacks... I wanted to implement the same thing six months ago that you are trying now... but unfortunately hit a dead end with wifi-based technologies – unrealsoul007 Apr 28 '15 at 12:40
  • HI @unrealsoul007 so how does app like Xender achieve this functionality? – Anish Jan 07 '16 at 15:49
  • Xender only allows One To many connections and most of the use case for xender is one to one...? Xender on android uses wifi hotspot to connect devices. @vishnukhaunte What functionality of xender are you referring here? – unrealsoul007 Jan 08 '16 at 00:33