[maemo-users] gpsd command line

From: Andrew Daviel advax at triumf.ca
Date: Fri Apr 11 21:43:28 EEST 2008
On Thu, 10 Apr 2008, Chris wrote:

> I have the same question. Would love to try NavT.


I tried this; it started but stopped right away, though some doc says 
that gpsd is supposed to keep running as long as there is a client
Then I built the tracker from the connectivity guide, which seems to 
start it up and keep running. Disable the track logging if you don't need 

#include <gpsbt.h>
#include <errno.h>
int main () {
   int s ;
   char error_buf[100] ;
   gpsbt_t ctx ;
   s = gpsbt_start(NULL, 0, 0, 0, error_buf, 100, 0,  &ctx);
   if (s) {
     perror("gpson") ;
     printf("%s\n",error_buf) ;
   sleep(100) ;


More information about the maemo-users mailing list