summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-02 16:44:54 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-02 16:44:54 -0400
commit466a626ed1bda0680da82d21cbb31f637efa9a3e (patch)
tree5dbdefb3c12d02ad02e801a531c5b2fa96d6f308 /gps.h
parent0f0b771836516a762bc0a1649cd378c371bad36c (diff)
downloadgpsd-466a626ed1bda0680da82d21cbb31f637efa9a3e.tar.gz
Support Inland AIS ship static and voyage-related data.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 69da77a5..e6ffab45 100644
--- a/gps.h
+++ b/gps.h
@@ -1248,6 +1248,19 @@ struct ais_t
size_t bitcount; /* bit count of the data */
union {
char bitdata[(AIS_TYPE8_BINARY_MAX + 7) / 8];
+ /* Inland static ship and voyage-related data */
+ struct {
+ char vin[8+1]; /* European Vessel ID */
+ unsigned int length; /* Length of ship */
+ unsigned int beam; /* Beam of ship */
+ unsigned int type; /* Ship/combination type */
+ unsigned int hazard; /* Hazardous cargo */
+ unsigned int draught; /* Draught */
+ unsigned int loaded; /* Loaded/Unloaded */
+ bool speed_q; /* Speed inf. quality */
+ bool course_q; /* Course inf. quality */
+ bool heading_q; /* Heading inf. quality */
+ } dac200fid10;
/* IMO236 - Meteorological-Hydrological data
* Trial message, not to be used after January 2013
* Replaced by IMO289 (DAC 1, FID 31)