Active Topics

 


Reply
Thread Tools
Posts: 30 | Thanked: 10 times | Joined on Oct 2007
#1
I nosed around looking for this, but can't find it anywhere.

Is it possible to read the GPS (that is get the latitude, longitude, and other information) from the command line? I can think of several uses for this.
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#2
Originally Posted by jmayson View Post
Is it possible to read the GPS (that is get the latitude, longitude, and other information) from the command line? I can think of several uses for this.
I think you want something like this:
http://gps-saver.garage.maemo.org/

I just got a GPS last night, gonna have to give it a shot myself
 
barry99705's Avatar
Posts: 641 | Thanked: 27 times | Joined on Apr 2007
#3
Originally Posted by jmayson View Post
I nosed around looking for this, but can't find it anywhere.

Is it possible to read the GPS (that is get the latitude, longitude, and other information) from the command line? I can think of several uses for this.
Well if you know the device name ie, /dev/ttyUSB0, or whatever it is. You should be able to telnet it.
__________________
Just because you are online, doesn't mean you don't have to form a full sentence.


SEARCH! It's probably already been answered.
 
Posts: 11 | Thanked: 0 times | Joined on Oct 2007
#4
On the 810, if you execute "/usr/libexec/navicore-gpsd-helper" (without the quotes) it will start up the GPS daemon and give a running log...
It is a bit cryptic, but the lines that start with "GPGGA" contain the latitude and longitude information, along with some other gunk I don't grok yet...

Probably wouldn't take a lot of bash-script to clean it up to a human readable output...

Last edited by crawdad; 2007-12-07 at 20:06. Reason: note that the info is 810-specific
 
Posts: 30 | Thanked: 10 times | Joined on Oct 2007
#5
Thanks for all the replies. I'm still debating between the N800 and N810. The ability to read the GPS, even if it's cryptic, tips the scales in favor of the N810.

I'll let everyone know how this works out.
 
Posts: 465 | Thanked: 149 times | Joined on Oct 2007
#6
Originally Posted by jmayson View Post
Thanks for all the replies. I'm still debating between the N800 and N810. The ability to read the GPS, even if it's cryptic, tips the scales in favor of the N810.
You'd need an external GPS for the N800, but the data can be read on the N800 too.

Edit: as mentioned above, /usr/libexec/navicore-gpsd-helper works, you can redirect to a log file, or kill it and grep what you want from /dev/rfcomm0, etc.

Last edited by dblank; 2007-12-07 at 21:12.
 
Posts: 67 | Thanked: 6 times | Joined on Nov 2007 @ Auckland, New Zealand
#7
Originally Posted by crawdad View Post
On the 810, if you execute "/usr/libexec/navicore-gpsd-helper" (without the quotes) it will start up the GPS daemon and give a running log...
It is a bit cryptic, but the lines that start with "GPGGA" contain the latitude and longitude information, along with some other gunk I don't grok yet...

I haven't seen the rest of the file you're talking about but GPGGA is part of the NMEA spec, for which there are loads of resources online.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:02.