#include <imo.h>
Data Fields | |
| char | type |
| 2 bits : 0=MMSI 1=IMO 2=Callsign 3=Other | |
| long | mmsi |
| 30 bits : MMSI | |
| long | imo |
| 30 bits : IMO | |
| char | callsign [8] |
| 7x6 (42) bits : Callsign | |
| char | other [8] |
| 7x6 (42) bits : Callsign | |
| char | spare |
| 4 bits : spare | |
| long | latitude |
| 24 bits : Latitude in 1/1000 minute | |
| long | longitude |
| 25 bits : Longitude in 1/1000 minute | |
| int | cog |
| 9 bits : Course over ground 0-359 degrees 360=not available | |
| char | timestamp |
| 6 bits : UTC Second when generated 60=not available | |
| unsigned char | sog |
| 8 bits : Speed over ground 0-254kts 255=not available | |
| char pseudo_target::type |
2 bits : 0=MMSI 1=IMO 2=Callsign 3=Other
| long pseudo_target::mmsi |
30 bits : MMSI
| long pseudo_target::imo |
30 bits : IMO
| char pseudo_target::callsign[8] |
7x6 (42) bits : Callsign
| char pseudo_target::other[8] |
7x6 (42) bits : Callsign
| char pseudo_target::spare |
4 bits : spare
24 bits : Latitude in 1/1000 minute
25 bits : Longitude in 1/1000 minute
9 bits : Course over ground 0-359 degrees 360=not available
6 bits : UTC Second when generated 60=not available
| unsigned char pseudo_target::sog |
8 bits : Speed over ground 0-254kts 255=not available
1.5.2