We have moved to a new Sailfish OS Forum. Please start new discussions there.
61

AGPS lets Mobile Data become active even when connected to wifi [released]

asked 2013-12-25 14:55:09 +0200

chemist gravatar image

updated 2014-10-28 15:24:48 +0200

I am connected to WLAN.

Loading up maps (Nokia Here).


Expected

GPS becomes active.

Supplementary server is asked for GPS cache via WLAN.

Actual

GPS becomes active.

MobileData becomes active (did not check whether route was used)


This was confirmed by others on IRC.

Update: Don't know when but as of now 1.1.0.39 I do not see this behaviour anymore, please reopen if this comes up again.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by chemist
close date 2014-10-28 15:24:58.857559

Comments

can confirm.

Low ( 2013-12-25 15:21:57 +0200 )edit
1

I can confirm, too. This is unnecessary and annoying.

pycage ( 2013-12-25 17:10:45 +0200 )edit

confirmed.

Max ( 2013-12-26 02:30:01 +0200 )edit

Noticed this too.

t4k1t ( 2013-12-26 14:45:45 +0200 )edit
5

This is an annoying bug, i have noticed same behavior in android apps, it will bring mobile data connection and then terminate it, for some unknown reason it kill's off WIFI connection while it gets AGPS location. some application like native whatsapp client developed by coderus fail to reconnect

skrokhmal ( 2014-01-06 10:38:17 +0200 )edit

3 Answers

Sort by » oldest newest most voted
4

answered 2013-12-26 20:31:26 +0200

llornkcor gravatar image

Here maps needs mobile data connection for AGPS.

We are working out the situation where there is only one connection allowed. If you noticed, the wifi will disconnect while the maps have to mobile data connection open.

edit flag offensive delete publish link more

Comments

2

there is no need for mdata when wifi is active... like ever!

chemist ( 2013-12-27 03:57:36 +0200 )edit
6

so, why do we need to use mobile data connection exacty to query supl for our location info if all we need from our mobile network is some cell ids?

Low ( 2013-12-27 04:11:37 +0200 )edit
2

There is another problem - the mobile data connection turns on even if you don't use Here maps. Tested it with android GPS app.

lpopov ( 2013-12-29 19:52:46 +0200 )edit
4

Could the use of mobile data connection by GPS become configurable? I was accidentally charged 1 euro today because I forgot turning GPS on in settings also enables mobile data...

thisisme ( 2014-01-02 21:30:54 +0200 )edit
5

@chemist except if the GPS device is tied to the modem and supl data download must go out over the mobile data connection as it does not have access to the wifi connection.

Aaron McCarthy ( 2014-01-07 09:12:21 +0200 )edit
3

answered 2014-02-14 14:10:59 +0200

jr gravatar image

The reason why wifi disconnects is the SingleConnectedTechnology=true setting in /etc/connman/main.conf. This flags forces the disconnection of wifi when cellular is connected.

The applications wanting network connection should really use ConnMan session API instead of forcing cellular connections etc.

edit flag offensive delete publish link more

Comments

The setting is fine I guess as long as no one wants to tether or us different upload and download links. Some provider force you to use their connection for eg MMS but else it should be avoided, yes. The location provider is the named problem and Jolla is already holding back on the here-daemon (CellID - WLAN Location Daemon) upgrade for some reason.

chemist ( 2014-02-14 15:06:01 +0200 )edit

IMHO the SingleConnectectedTechnology=true setting is quite useless as ConnMan's autoconnection feature will keep only one connection active at a time anyway. Only when an application wants specifically a cellular connection and there is a wifi already connected then the both the wifi and cellular would be connected at the same time so there would not be wifi disconnect and thus applications would not see any disruptions.

Even better would be if all the applications would use session API to get a connection as session API has some logic to close a connection when there are no users for it.

For MMS type applications, the session API is perfect choice as it can create a container with private routing (requires quite recent kernel thou). This way for example MMS would be able to access network without disturbing other network users.

jr ( 2014-02-15 00:38:21 +0200 )edit

system would prefer (when both connections are on) wifi to mobile connection if wifi is available

michdeskunk ( 2014-03-30 06:10:35 +0200 )edit
0

answered 2013-12-28 14:48:37 +0200

llornkcor gravatar image

I would suggest using http://m.here.com as I think that implementation allows wifi location.

edit flag offensive delete publish link more

Comments

2

this is not about maps, this is about AGPS needing mobile-data connection

chemist ( 2014-01-07 16:47:34 +0200 )edit

Question tools

Follow
15 followers

Stats

Asked: 2013-12-25 14:55:09 +0200

Seen: 1,426 times

Last updated: Oct 28 '14