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 /jsongen.py.in | |
parent | 23b9cc85e2382ced71430386e1ff98fd293be268 (diff) | |
download | gpsd-51acb55669c76de87d0af493039dd7caf2ab2f2b.tar.gz |
Inland AIS Water level support is done except for the JSON dumping.
Diffstat (limited to 'jsongen.py.in')
-rw-r--r-- | jsongen.py.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/jsongen.py.in b/jsongen.py.in index 8a64c6dc..c9398f3b 100644 --- a/jsongen.py.in +++ b/jsongen.py.in @@ -514,6 +514,20 @@ ais_specs = ( 'stringbuffered' : ('start', 'end'), }, { + "initname" : "json_ais8_fid24", + "headers": ("AIS_HEADER","AIS_TYPE8"), + "structname": "ais->type8.dac200fid24", + "fieldmap":( + # fieldname type default + ('country', 'string', None), + ('gauges', 'array', ( + ('gauge_t', 'ngauges', ( + ('id', 'uinteger', 'DAC200FID24_GAUGE_ID_UNKNOWN'), + ('level', 'integer', 'DAC200FID24_GAUGE_LEVEL_UNKNOWN'), + )))), + ), + }, + { "initname" : "json_ais8_fid27", "headers": ("AIS_HEADER","AIS_TYPE8",), "structname": "ais->type8.dac1fid27", |