Active Topics

 


Reply
Thread Tools
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#101
Originally Posted by cycroft View Post
why so complicated? just use a nokia phone --> get cell id from the phone --> forward to supl.nokia.com --> and receive a-gps data through phone ... nokia could implement such a simple service in almost no time.
True Nokia could, however there's no point us discussing what Nokia *could* do. They tend not to release information about this kind of thing ahead of release - only Maemo itself.

*We* could do this if we knew the format of supl.nokia.com: so far I've not been able to find any information on the protocol other than it being a H-SPL service. More details welcome :-)
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
Now known as
Jaffa
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#102
http://cms.openmobilealliance.org/te...20070615-A.pdf

and other odds and ends on that site.
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#103
therefore the almanac data may well change (slightly) from day to day. Does this sound reasonable? Any way of establishing whether this is true?
historical almanac data: http://www.arinc.com/gps/gpshistory/

It does look like it's updated every day.
 
anidel's Avatar
Posts: 1,743 | Thanked: 1,231 times | Joined on Jul 2006 @ Twickenham, UK
#104
Originally Posted by jussik View Post
Not true, AFAIK. A-GPS can contain several methods of assistance. IIRC at least these:
* rough location (e.g. from GSM network)
* ephemeris & almanac data
* computational help
So we could just feed it they way we want... cool

Originally Posted by jussik View Post
I'm not interested in Skyhook (proprietary, expensive, closed), but I've done some tests on my own. Based on those test I can believe the 20m figure (as a best case scenario). It would open quite a lot of possibilities...

A personal MAC address database could very well be a geoclue data provider, and would work pretty well for the common locations (home, office, ...).
Yeah, an open source provider would be great, but, then, who would host the database ?
Unless we think of a locally stored small database of user locations.
That may very well work.
 
Posts: 60 | Thanked: 17 times | Joined on Feb 2008
#105
Originally Posted by ag2 View Post
I unfortunately am not seeing a difference with the new gpsd. Still taking forever to obtain a fix.
I can second that - still takes forever with updated gpsd.
 
Posts: 164 | Thanked: 132 times | Joined on Dec 2007
#106
I was talking about something much simpler than full-blown A-GPS. If we simply figured out the format of nvd_data and inserted new ephemeris from the network regularly, it seems that cold starts (3+ minutes) would become warm starts (~15 seconds as established in this thread). You don't need to talk to the chip directly as nvd_data is already fed to the chip by gpsdriver. You also don't need to know precise location. There were reports in this thread of people driving several miles and still getting a warm fix in seconds. Defaulting to last known location should work in most cases.

Here is a good experiment to try if anyone has 2 N810s.

1) Get a fix on both units so that nvd_data is initialized.
2) Wait a day
3) Get a fix on one of the units. This will take a few minutes.
4) Edit nvd_data on the second unit. Copy the B 2 section from the first unit.
5) Start GPS on the second unit.

If I am correct, the second unit should obtain a lock in about 15 seconds.
__________________
See my collection of maemo apps: http://nitapps.com
 
Posts: 19 | Thanked: 5 times | Joined on Jun 2007
#107
I am starting do doubt if anything from nvd_data is fed back to the GPS chip by gpsd. Here is what I did: I refreshed location in the Control Panel -> GPS Location with external LD-3W module, upon which nvd_data and gps_last_saved_report got updated. It took about 1 second (I have good view to the sky). Few minutes after that I switched to internal GPS and tried to refresh location in the Control Panel -> GPS Location. So far it has been searching for more than 10 minutes without getting a lock. Could somebody repeat this experiment?
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#108
gps_last_saved_report is saved by gpsd, so that would be updated. nvd_data should probably only be saved by gpsdriver, so I'm suprised that it was updated. Did the contents change?

Another option would be to wait for some time (so the ephereris & almanac data in the nvd_data file are old - so this will be a sky search situation), save that nvd_data file somewhere, get a lock using the internal GPS, then test the time to lock using one or other of the files. If there is a difference, then the data must be being used.

We had a quick look at some nvd_data on irc on Thursday afternoon (iirc) and it looks like the nvd_data file is filled up in sections (we theorised that this was as more satellites became visible).

Assuming this is almanac data, it should be valid for at least one day (I believe they update the alamac data daily to improve accuracy, even though it is still valid in the old form - if anyone knows for sure please pipe up), therefore it would be interesting to connect, note the satellites that were used/seen/etc., then wait for a little while (until more satellites are visible in the sky (not sure what the best tool is to track their locations - any thoughts) then connect again and compare the contents of the two fixes' nvd_data files. I'm assuming that blocks of data will match. If so, we're on the way to working out what the format of the files is....

Any help/ideas welcome

Last edited by lardman; 2008-02-09 at 10:32.
 
Posts: 19 | Thanked: 5 times | Joined on Jun 2007
#109
Lardman seems to be right - nvd_data timestamp changes when switching from external to internal GPS (and vice-versa). The contents of the B1 section has not changed by switching to external GPS module.
Now I have two files corresponding to different satellite sets and indeed there are matching parts in nvd_data. Here are both files with channels lists as displayed by maemo-mapper. Hopefully it will help somebody who is more familiar with GPS technology than I to figure out the nvd_data structure.
Attached Files
File Type: zip nvd_data080209.zip (6.4 KB, 137 views)
 
Posts: 139 | Thanked: 24 times | Joined on Sep 2005
#110
Originally Posted by namorvx View Post
I am starting do doubt if anything from nvd_data is fed back to the GPS chip by gpsd.
We don't think it is either -- osso-gpsd maintainer has already stated that gpsd is not part of that loop in any way. I'm also using the gps mostly with gypsy, so gpsd is not running at all but nvd_data still gets updated.

nvd_data does not get updated when external gps is used, Iäve tested this already.
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:36.