diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-01 08:26:33 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-01 08:26:33 -0400 |
commit | c08194716380e2622fa6a301e598f65293d3f7d6 (patch) | |
tree | 8a8938b9e148b04561ed350060fde1f8a0bb7851 /jsongen.py.in | |
parent | e9a0ea3f35898b5d1c88e3f41c6989d522ef1ff7 (diff) | |
download | gpsd-c08194716380e2622fa6a301e598f65293d3f7d6.tar.gz |
Support for Inland AIS RTA at lock/bridge/terminal.
Diffstat (limited to 'jsongen.py.in')
-rw-r--r-- | jsongen.py.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/jsongen.py.in b/jsongen.py.in index 3fc563ab..4495c3f0 100644 --- a/jsongen.py.in +++ b/jsongen.py.in @@ -223,6 +223,22 @@ ais_specs = ( "stringbuffered":("eta",), }, { + "initname" : "json_ais6_fid22", + "headers": ("AIS_HEADER",), + "structname": "ais->type6.dac200fid22", + "fieldmap":( + # fieldname type default + ('country', 'string', None), + ('locode', 'string', None), + ('section', 'string', None), + ('terminal', 'string', None), + ('hectometre', 'string', None), + ('rta', 'string', None), + ('status', 'uinteger', 'DAC200FID22_STATUS_NOT_AVAILABLE'), + ), + "stringbuffered":("rta",), + }, + { "initname" : "json_ais6_fid25", "headers": ("AIS_HEADER","AIS_TYPE6",), "structname": "ais->type6.dac1fid25", |