summaryrefslogtreecommitdiff
path: root/ais_json.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-05 17:40:36 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-05 17:40:36 -0400
commit51acb55669c76de87d0af493039dd7caf2ab2f2b (patch)
tree6b7b133d005016554d30930c695149232e69213e /ais_json.c
parent23b9cc85e2382ced71430386e1ff98fd293be268 (diff)
downloadgpsd-51acb55669c76de87d0af493039dd7caf2ab2f2b.tar.gz
Inland AIS Water level support is done except for the JSON dumping.
Diffstat (limited to 'ais_json.c')
-rw-r--r--ais_json.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ais_json.c b/ais_json.c
index e2d9223c..70ea6b9a 100644
--- a/ais_json.c
+++ b/ais_json.c
@@ -358,6 +358,10 @@ int json_ais_read(const char *buf,
&ais->type8.dac200fid23.end_minute);
imo = true;
}
+ else if (strstr(buf, "\"fid\":24,") != NULL) {
+ status = json_read_object(buf, json_ais8_fid24, endptr);
+ imo = true;
+ }
else if (strstr(buf, "\"fid\":27,") != NULL) {
status = json_read_object(buf, json_ais8_fid27, endptr);
if (status == 0) {