Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
timboyce94
Old
#1  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Sep 2011
Question [Q] Simultaneous WiFi (no-data) & 3G (data)

Hi there everyone,

I'm wondering if on an android device there's a way to force it to keep open a wifi connection that is not used for data, for example to a Seagate Goflex Satellite (WiFi HDD) or eye-fi (WiFi SDHC) while also being simultaneously connected to 3G for data. Obviously connecting to 2 wifi connections is out of the question, but thought maybe somewhere out there is someone who 's found a way to do what I'm looking at.

Thanks.
 
lufc
Old
#2  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1472
Posts: 9,442
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
The Following User Says Thank You to lufc For This Useful Post: [ Click to Expand ]
 
timboyce94
Old
#3  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Sep 2011
Quote:
Originally Posted by lufc View Post
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Thanks
 
timboyce94
Old
(Last edited by timboyce94; 2nd June 2012 at 05:58 AM.)
#4  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Sep 2011
Default Bump

Bump - anyone have any idea?
Thanks.
 
timboyce94
Old
#5  
Member - OP
Thanks Meter 4
Posts: 32
Join Date: Sep 2011
No-one has any ideas?
 
gouthamsn
Old
#6  
Member
Thanks Meter 1
Posts: 52
Join Date: Jun 2011
Even I am hunting for the same.
Check these links
http://mobisocial.stanford.edu/news/...yservice-java/
https://gist.github.com/CyanogenMod/...tyService.java

I am not sure if it will work though! Coz I find this reply more convincing..

Pallas Says:
April 13, 2012 at 5:58 am

are you sure the packets are going thru both interfaces?
I think it doesn’t work, simply because you would need two default gateways, leading to some hard problems:

- how does the system choose where to send the packets?
- for outgoing packets: unless the two connections have both statically assigned public IP addresses, which is very unlikely, you will end up with two differently NATed paths, and the client will refuse packets coming from two different ip addresses on the same connection.
- for incoming packets: to let the client send packets to both interfaces, you would need to send them from both interfaces with different source ip addresses: it will not work, the client will get confused. and anyway you would need support at the application level.

to solve all this, you’d need to:

- make an ad-hoc application which understands all this and can send chuncks to both interfaces, then merge all the returning chunks. you’d need support at the application level: for example you’d need http byte range support on both client and server
- divide “equally” the single specific connections thru the two gateways. this may work but it’s pretty hard if you do not have access to advanced routing and traffic shaping at the kernel level. may be possible on a phone with custom compiled aosp rom and modified kernel
 
Post Reply+
Tags
data, eye-fi, satellite, wifi
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more