Re: [QtMoko] adding agps support

2010-05-23 Thread tomas nackaerts
 When it's said FSO has agps enabled by default they mean FSO stores
 ephemeris and almanac from the chip every time prior to powering it
 off and loads the saved data after powering on. The code is there in
 ogpsd.
Thanks for the info, i will have a look at the source.

 If the ephemiri data is fresh enough (2-4 hours max), the
 effect is the same as downloading the data from the internet. Other
 than that, there's no agps integration yet afaik.


Don't know why, but i thought this data was useful for a couple of
days, not couple of hours



thx,

toams

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] adding agps support

2010-05-23 Thread Paul Fertser
tomas nackaerts tomas.nackae...@gmail.com writes:
 If the ephemiri data is fresh enough (2-4 hours max), the
 effect is the same as downloading the data from the internet. Other
 than that, there's no agps integration yet afaik.


 Don't know why, but i thought this data was useful for a couple of
 days, not couple of hours

Almanac can be used for a couple of days, right, but almanac is not
used for the real fix (though some receivers can provide a rough
approximatation based on almanac), rather it's used to find to which
sattelites it's worth listening to to get their ephemeri (every
sattelite transfers its own ephemeri on its own channel). AFAIK modern
receivers can listen on all the channels at the same time (they have
enough correlators), so having almanac provides no advantage. In an
ideal conditions you can get a fix in ~40 seconds without any data.

U-blox has some offline AGPS trick allowing computation of ephemeris
for the nearest feature, but i haven't heard about anyone had it
working.

At least that's what i think about GPS atm, i might be wrong in some
details.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] adding agps support

2010-05-21 Thread Radek Polak
On Thursday 20 May 2010 19:44:27 Tomas Nackaerts wrote:

 SHR, and probably others too, have agps enabled by default. So i think it
 should be fairly easy to add this. I did a little research and it seems
 like all we have to do is to save the latest GPS data to a file when the
 GPS is shut down and feed this data back to the GPS when starting GPS next
 time.

I have been searching the wiki, but havent found anything usefull on this. I 
found just how to do AGPS using ublox online service.

Can anyone point me how to do offline AGPS?

Regards

Radek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] adding agps support

2010-05-21 Thread Paul Fertser
Radek Polak pson...@seznam.cz writes:
 SHR, and probably others too, have agps enabled by default. So i think it
 should be fairly easy to add this. I did a little research and it seems
 like all we have to do is to save the latest GPS data to a file when the
 GPS is shut down and feed this data back to the GPS when starting GPS next
 time.

 I have been searching the wiki, but havent found anything usefull on this. I 
 found just how to do AGPS using ublox online service.

When it's said FSO has agps enabled by default they mean FSO stores
ephemeris and almanac from the chip every time prior to powering it
off and loads the saved data after powering on. The code is there in
ogpsd. If the ephemiri data is fresh enough (2-4 hours max), the
effect is the same as downloading the data from the internet. Other
than that, there's no agps integration yet afaik.

HTH
-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[QtMoko] adding agps support

2010-05-20 Thread Tomas Nackaerts
Hello,

SHR, and probably others too, have agps enabled by default. So i think it 
should be fairly easy to add this. I did a little research and it seems like 
all we have to do is to save the latest GPS data to a file when the GPS is shut 
down and feed this data back to the GPS when starting GPS next time.

after a little more research i found:
/opt/qtmoko/bin/gps-poweron.sh and
/opt/qtmoko/bin/gps-poweroff.sh
maybe we can adjust these files? or add agps support at
~/qtmoko/devices/neo/src/plugins/whereabouts/neo/neogpsplugin.cpp

unfortunately my hacking skills are not good enough for doing this myself.

I hope somebody can implement this, or at least provide me some more 
information so i can try to implement this myself.

Kind regards,

Toams

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] adding agps support

2010-05-20 Thread Risto H. Kurppa
On Thu, May 20, 2010 at 8:44 PM, Tomas Nackaerts
tomas.nackae...@gmail.com wrote:
 Hello,

 SHR, and probably others too, have agps enabled by default. So i think it
 should be fairly easy to add this. I did a little research and it seems like
 all we have to do is to save the latest GPS data to a file when the GPS is 
 shut
 down and feed this data back to the GPS when starting GPS next time.

 after a little more research i found:
 /opt/qtmoko/bin/gps-poweron.sh and
 /opt/qtmoko/bin/gps-poweroff.sh
 maybe we can adjust these files? or add agps support at
 ~/qtmoko/devices/neo/src/plugins/whereabouts/neo/neogpsplugin.cpp

 unfortunately my hacking skills are not good enough for doing this myself.

 I hope somebody can implement this, or at least provide me some more
 information so i can try to implement this myself.

This sounds interesting  would be great to have.

I think gps-poweron.sh and off.sh are not used any more but 'omtools'
or 'omhacks' or whatever that basically lets you do magic with
om gps on
or something like that.. Someone will very likely correct me soon :)

That's all I can say.

You can also join #qtmoko IRC channel to discuss real-time


r




-- 
| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community