summaryrefslogtreecommitdiff
path: root/libgps_json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-11-12 13:33:12 -0800
committerGary E. Miller <gem@rellim.com>2018-11-12 13:33:12 -0800
commitb3f9c362febdb328191eec4aaeaf5ebad2cba57f (patch)
treeede672a91440d9a0438a78d49b748cd8fbb45de9 /libgps_json.c
parent60eb6d238f4c4c77d6945efbfada3272ad161111 (diff)
downloadgpsd-b3f9c362febdb328191eec4aaeaf5ebad2cba57f.tar.gz
RAW: Add c2c and l2c measurements.
Those are C/A L2 pseudo-range and carrierphase.
Diffstat (limited to 'libgps_json.c')
-rw-r--r--libgps_json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgps_json.c b/libgps_json.c
index 4e783bda..cdc15740 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -155,6 +155,10 @@ static int json_raw_read(const char *buf, struct gps_data_t *gpsdata,
.dflt.real = NAN},
{"doppler", t_real, STRUCTOBJECT(struct meas_t, doppler),
.dflt.real = NAN},
+ {"c2c", t_real, STRUCTOBJECT(struct meas_t, c2c),
+ .dflt.real = NAN},
+ {"l2c", t_real, STRUCTOBJECT(struct meas_t, l2c),
+ .dflt.real = NAN},
/* *INDENT-ON* */
{NULL},
};