diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-05 17:40:36 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-05 17:40:36 -0400 |
commit | 51acb55669c76de87d0af493039dd7caf2ab2f2b (patch) | |
tree | 6b7b133d005016554d30930c695149232e69213e /ais_json.c | |
parent | 23b9cc85e2382ced71430386e1ff98fd293be268 (diff) | |
download | gpsd-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.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |