summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-05-14 17:55:00 -0700
committerGary E. Miller <gem@rellim.com>2019-05-14 17:59:58 -0700
commite0ed58ec6353cf6eb0e42a70fed0e5f75bcd8ddc (patch)
treec530eadbfb67f7cc25592f3655d5076af7924b67 /gps.h
parent99f00c927401163be8d7538cefb848127d80ec5a (diff)
downloadgpsd-e0ed58ec6353cf6eb0e42a70fed0e5f75bcd8ddc.tar.gz
gps.h: Add gnssId defines
Not used yet. No functional changes.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 6e092153..ae75d71f 100644
--- a/gps.h
+++ b/gps.h
@@ -1832,6 +1832,17 @@ struct ais_t
};
};
+/* defines for u-blox gnssId, as used in satellite_t */
+#define GNSSID_GPS 0
+#define GNSSID_SBAS 1
+#define GNSSID_GAL 2
+#define GNSSID_BD 3
+#define GNSSID_IMES 4
+#define GNSSID_QZSS 5
+#define GNSSID_GLO 6
+#define GNSSID_IRNSS 7 /* Not defined by u-blox */
+#define GNSSID_CNT 8 /* count for array size */
+
/* basic data, per PRN, from GPGSA and GPGSV, or GPS binary messages */
/* FIXME: u-blox 9 no longer uses PRN */
struct satellite_t {