diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-29 11:18:07 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-29 11:18:07 -0400 |
commit | 2e070b48734a9e3795bd8f6eaa0afc99959eefd8 (patch) | |
tree | 7701f84cefb7f98b16ef359b4a0cd2c90fda2e08 /jsongen.py.in | |
parent | dfd374545d5822d46380bf07463e0dd8040a9e42 (diff) | |
download | gpsd-2e070b48734a9e3795bd8f6eaa0afc99959eefd8.tar.gz |
In AIS, support for Route Info (addressed). All regression tests pass.
Diffstat (limited to 'jsongen.py.in')
-rw-r--r-- | jsongen.py.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/jsongen.py.in b/jsongen.py.in index 37ce1ad2..f131238c 100644 --- a/jsongen.py.in +++ b/jsongen.py.in @@ -205,6 +205,27 @@ ais_specs = ( 'stringbuffered' : ('arrival', 'berth_name',), }, { + "initname" : "json_ais6_fid28", + "headers": ("AIS_HEADER","AIS_TYPE6",), + "structname": "ais->type6.dac1fid28", + "fieldmap":( + # fieldname type default + ('linkage', 'uinteger', '0'), + ('sender', 'uinteger', '0'), + ('rtype', 'uinteger', '0'), + ('month', 'uinteger', 'AIS_MONTH_NOT_AVAILABLE'), + ('day', 'uinteger', 'AIS_DAY_NOT_AVAILABLE'), + ('hour', 'uinteger', 'AIS_HOUR_NOT_AVAILABLE'), + ('minute', 'uinteger', 'AIS_MINUTE_NOT_AVAILABLE'), + ('duration', 'uinteger', '0'), + ('waypoints', 'array', ( + ('waypoint_t', 'waycount', ( + ('lon', 'integer', 'AIS_LON4_NOT_AVAILABLE'), + ('lat', 'integer', 'AIS_LAT4_NOT_AVAILABLE'), + )))), + ), + }, + { "initname" : "json_ais6_fid30", "headers": ("AIS_HEADER","AIS_TYPE6",), "structname": "ais->type6.dac1fid30", |