summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-14 15:38:53 -0700
committerGary E. Miller <gem@rellim.com>2019-03-14 15:38:53 -0700
commit2204219f45d3dc0989f4af25937d5b86befaf602 (patch)
treef431aa6cdf1aa66845aaf5d2ca468cd72210c759 /gps.h
parent47374471294aa80ee2713432c472a9a3a9d9aae9 (diff)
downloadgpsd-2204219f45d3dc0989f4af25937d5b86befaf602.tar.gz
driver_nmea0183: Add STATUS_SIM. Update status in GPGGA.
status = 8 supposed to be simulator mode. Older Garmin seems to use it for something undocuemnted.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gps.h b/gps.h
index 0c550b98..86eb5015 100644
--- a/gps.h
+++ b/gps.h
@@ -2129,7 +2129,8 @@ struct gps_data_t {
#define STATUS_RTK_FLT 4 /* yes, with RTK Float */
#define STATUS_DR 5 /* yes, with dead reckoning */
#define STATUS_GNSSDR 6 /* yes, with GNSS + dead reckoning */
-#define STATUS_TIME 7 /* yes, time only (surveyed in) */
+#define STATUS_TIME 7 /* yes, time only (surveyed in, manual) */
+#define STATUS_SIM 8 /* yes, simulated */
/* precision of fix -- valid if satellites_used > 0 */
int satellites_used; /* Number of satellites used in solution */