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 /gps.h | |
parent | e9a0ea3f35898b5d1c88e3f41c6989d522ef1ff7 (diff) | |
download | gpsd-c08194716380e2622fa6a301e598f65293d3f7d6.tar.gz |
Support for Inland AIS RTA at lock/bridge/terminal.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -993,6 +993,23 @@ struct ais_t unsigned int tugs; /* Assisting Tugs */ unsigned int airdraught; /* Air Draught */ } dac200fid21; + /* Inland AIS - ETA at lock/bridge/terminal */ + struct { + char country[2+1]; /* UN Country Code */ + char locode[3+1]; /* UN/LOCODE */ + char section[5+1]; /* Fairway section */ + char terminal[5+1]; /* Terminal code */ + char hectometre[5+1]; /* Fairway hectometre */ + unsigned int month; /* RTA month */ + unsigned int day; /* RTA day */ + unsigned int hour; /* RTA hour */ + unsigned int minute; /* RTA minute */ + unsigned int status; /* Status */ +#define DAC200FID22_STATUS_OPERATIONAL 0 +#define DAC200FID22_STATUS_LIMITED 1 +#define DAC200FID22_STATUS_OUT_OF_ORDER 2 +#define DAC200FID22_STATUS_NOT_AVAILABLE 0 + } dac200fid22; /* GLA - AtoN monitoring data (UK/ROI) */ struct { unsigned int ana_int; /* Analogue (internal) */ |