summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-05 12:24:25 -0800
committerGary E. Miller <gem@rellim.com>2018-11-05 12:24:25 -0800
commitc236dda1008b5aa43748b312c747f9efa82a286b (patch)
tree2163aedbebdbcaa7d660418ff7c2d8f436c7b193 /gps.h
parentfce4bc4fdaf5c2398116c67621db500a753b1400 (diff)
downloadgpsd-c236dda1008b5aa43748b312c747f9efa82a286b.tar.gz
rawdata_t: Add lli (Loss of Lock Indicator( feild.
Needed for RINEX
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 548e6c82..145f4088 100644
--- a/gps.h
+++ b/gps.h
@@ -1914,6 +1914,11 @@ struct rawdata_t {
unsigned char sigid;
unsigned char snr; /* SNR. 0 to 100 dB-Hz. */
unsigned char freqid; /* The GLONASS (Only) frequency, 0 - 13 */
+ unsigned char lli; /* RINEX Loss of Lock Indicator
+ * bit 0 - Lost Lock
+ * bit 1 - half-cycle ambiguity/slip possible
+ * bit 2 - GALILEO BOC-tracking of MBOC signal
+ */
char obs_code[4]; /* 3 char RINEX observation code */
/* see RINEX documenetation
* GPS: L1: L1C, L1S, L1L, L1X, L1P, L1W, L1N