Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting multiple devices and transferring data through Wifi Direct without access point

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 .

like image 772
Nithin Avatar asked Oct 20 '22 13:10

Nithin


1 Answers

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.

like image 130
unrealsoul007 Avatar answered Oct 23 '22 19:10

unrealsoul007