diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-05-28 00:19:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-05-28 00:19:58 +0000 |
commit | e8bccb91d5392f7166250b8afc6da9c670d1b229 (patch) | |
tree | 4effdd70982b97dd3ec6a9f92bad80bfb8674c87 /gps.h | |
parent | 83f2d075636694624feeba4c0284b7aff6f8ef61 (diff) | |
download | gpsd-e8bccb91d5392f7166250b8afc6da9c670d1b229.tar.gz |
First cut at support for AIS Type 21 messages (not tested).
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -630,6 +630,26 @@ struct ais_t bool assigned; /* assigned-mode flag */ uint spare; /* spare bits */ } type19; + /* Type 21 - Aids to Navigation Report */ + struct { + uint type; /* aid type */ + char name[35]; /* name of aid to navigation */ + bool accuracy; /* position accuracy */ + int longitude; /* longitude */ + int latitude; /* latitude */ + uint to_bow; /* dimension to bow */ + uint to_stern; /* dimension to stern */ + uint to_port; /* dimension to port */ + uint to_starboard; /* dimension to starboard */ + uint epfd; /* type of EPFD */ + uint utc_second; /* second of UTC timestamp */ + bool off_position; /* off-position indicator */ + uint regional; /* regional reserved field */ + bool raim; /* RAIM flag */ + bool virtual_aid; /* is virtual station? */ + bool assigned; /* assigned-mode flag */ + uint spare; /* unused */ + } type21; }; }; |