summaryrefslogtreecommitdiff
path: root/rtcm2_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-08-28 14:49:14 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-08-28 14:49:14 +0000
commit2094619ca3b2e9973a8623d4507990a412f8cbfd (patch)
tree7f2faba3698d3f2e29d0a7c87e9a46694d8f0f5c /rtcm2_json.c
parentb2ac538726a4ea27b47e105e9c1f2654e5d1d69d (diff)
downloadgpsd-2094619ca3b2e9973a8623d4507990a412f8cbfd.tar.gz
RTCM2 JSON decoiding is verified and has a full regression test.
Diffstat (limited to 'rtcm2_json.c')
-rw-r--r--rtcm2_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rtcm2_json.c b/rtcm2_json.c
index 62caf328..878fc024 100644
--- a/rtcm2_json.c
+++ b/rtcm2_json.c
@@ -101,6 +101,7 @@ int json_rtcm2_read(const char *buf,
{"ident", uinteger, STRUCTOBJECT(struct consat_t, ident)},
{"iodl", boolean, STRUCTOBJECT(struct consat_t, iodl)},
{"health", uinteger, STRUCTOBJECT(struct consat_t, health)},
+ {"snr", integer, STRUCTOBJECT(struct consat_t, snr)},
{"health_en", boolean, STRUCTOBJECT(struct consat_t, health_en)},
{"new_data", boolean, STRUCTOBJECT(struct consat_t, new_data)},
{"los_warning", boolean, STRUCTOBJECT(struct consat_t, los_warning)},