I'm a user of GPSD (version 3.14).
Here is my issue:
- I have a embedded board
- I startup the board without connecting GPS antenna
- Both cgps (and gpsmon) indicate no valid fix, time is nan
- I connect the GPS antenna
(no board reboot).
indicate valid fix
- I disconnect the GPS antenna (no board reboot).
- Here is the problem:
- tool cgps
indicates valid fix, but the timestamp doesn't change
indicates fix not valid (and this is the right information)
Here is my doubt, why the cgps tool always print that the FIX is 3D mode?
My main issue is that I should implement a custom client in C and I would like to copy the code approach in cgps (the one in gpsmon is more complicated).
However when, at step 7, I read the data using the subroutine
the structure gps_data_t contains the flag indicating a valid GPS fix (while the fix is no valid as stated by gpsmon).
Do you have any idea what's wrong with cgps?