[maemo-users] gpsd command line
From: Andrew Daviel advax at triumf.caDate: Fri Apr 11 21:43:28 EEST 2008
- Previous message: gpsd command line
- Next message: Memo mapper cannot connect to GPSD server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: gpsd command line
- Next message: Memo mapper cannot connect to GPSD server?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]