diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-05-27 09:42:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-05-27 09:42:28 +0000 |
commit | 760ec24b07473e8bf7b5d1a8737026eebe1a7799 (patch) | |
tree | 1666d6f4ffbb3039bb5b90fe3930d4ed5d85d601 /gps.h | |
parent | e8aacd76fe11e08ab57370f27ccaee5f59bd7e9b (diff) | |
download | gpsd-760ec24b07473e8bf7b5d1a8737026eebe1a7799.tar.gz |
Add support for decoding AIS message type 10.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -482,7 +482,7 @@ struct ais_t bool raim; /* RAIM flag */ uint radio; /* radio status bits */ } type123; - /* Type 4 - Base Station Report */ + /* Type 4 - Base Station Report & Type 11 - UTC and Date Response */ struct { uint year; /* UTC year */ #define AIS_YEAR_NOT_AVAILABLE 0 @@ -566,6 +566,12 @@ struct ais_t bool raim; /* RAIM flag */ uint radio; /* radio status bits */ } type9; + /* Type 10 - UTC/Date Inquiry */ + struct { + uint spare; + uint dest_mmsi; /* destination MMSI */ + uint spare2; + } type10; /* Type 12 - Safety-Related Message */ struct { uint seqno; /* sequence number */ |