#include <vdm_parse.h>
Data Fields | |
| char | msgid |
| 6 bits : MessageID (5) | |
| char | repeat |
| 2 bits : Repeated | |
| unsigned long | userid |
| 30 bits : UserID / MMSI | |
| char | version |
| 2 bits : AIS Version | |
| unsigned long | imo |
| 30 bits : IMO Number | |
| char | callsign [8] |
| 7x6 (42) bits : Callsign | |
| char | name [21] |
| 20x6 (120) bits : Ship Name | |
| unsigned char | ship_type |
| 8 bits : Type of Ship and Cargo | |
| int | dim_bow |
| 9 bits : GPS Ant. Distance from Bow | |
| int | dim_stern |
| 9 bits : GPS Ant. Distance from stern | |
| char | dim_port |
| 6 bits : GPS Ant. Distance from port | |
| char | dim_starboard |
| 6 bits : GPS Ant. Distance from starboard | |
| char | pos_type |
| 4 bits : Type of position fixing device | |
| unsigned long | eta |
| 20 bits : Estimated Time of Arrival MMDDHHMM | |
| unsigned char | draught |
| 8 bits : Maximum present static draught | |
| char | dest [21] |
| 6x20 (120) bits : Ship Destination | |
| char | dte |
| 1 bit : DTE flag | |
| char | spare |
| 1 bit : spare | |
| char aismsg_5::msgid |
6 bits : MessageID (5)
| char aismsg_5::repeat |
2 bits : Repeated
| unsigned long aismsg_5::userid |
30 bits : UserID / MMSI
| char aismsg_5::version |
2 bits : AIS Version
| unsigned long aismsg_5::imo |
30 bits : IMO Number
| char aismsg_5::callsign[8] |
7x6 (42) bits : Callsign
| char aismsg_5::name[21] |
20x6 (120) bits : Ship Name
| unsigned char aismsg_5::ship_type |
8 bits : Type of Ship and Cargo
9 bits : GPS Ant. Distance from Bow
9 bits : GPS Ant. Distance from stern
| char aismsg_5::dim_port |
6 bits : GPS Ant. Distance from port
6 bits : GPS Ant. Distance from starboard
| char aismsg_5::pos_type |
4 bits : Type of position fixing device
| unsigned long aismsg_5::eta |
20 bits : Estimated Time of Arrival MMDDHHMM
| unsigned char aismsg_5::draught |
8 bits : Maximum present static draught
| char aismsg_5::dest[21] |
6x20 (120) bits : Ship Destination
| char aismsg_5::dte |
1 bit : DTE flag
| char aismsg_5::spare |
1 bit : spare
1.5.2