Re: gpsd command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Apr 2008, Chris wrote:

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

http://maemo.org/development/documentation/how-tos/3-x/howto_connectivity_guide_bora.html
http://maemo.org/api_refs/4.0/gpsbt/group__gpsbt__api.html

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 
it.

#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) ;
}


Andrew
_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux