@@ -29,41 +29,66 @@ To update go-nmea to the latest version, use `go get -u github.com/adrianmo/go-n
29
29
30
30
At this moment, this library supports the following sentence types:
31
31
32
- | Sentence type | Description |
33
- | -------------------------------------------------------------------------------| -----------------------------------------------------------|
34
- | [ RMC] ( http://aprs.gids.nl/nmea/#rmc ) | Recommended Minimum Specific GPS/Transit data |
35
- | [ GGA] ( http://aprs.gids.nl/nmea/#gga ) | GPS Positioning System Fix Data |
36
- | [ GSA] ( http://aprs.gids.nl/nmea/#gsa ) | GPS DOP and active satellites |
37
- | [ GSV] ( http://aprs.gids.nl/nmea/#gsv ) | GPS Satellites in view |
38
- | [ GLL] ( http://aprs.gids.nl/nmea/#gll ) | Geographic Position, Latitude / Longitude and time |
39
- | [ VTG] ( http://aprs.gids.nl/nmea/#vtg ) | Track Made Good and Ground Speed |
40
- | [ ZDA] ( http://aprs.gids.nl/nmea/#zda ) | Date & time data |
41
- | [ HDT] ( http://aprs.gids.nl/nmea/#hdt ) | Actual vessel heading in degrees True |
42
- | [ HDG] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_hdg_heading_deviation_variation ) | Heading, Deviation & Variation |
43
- | [ HDM] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_hdm_heading_magnetic ) | Heading - Magnetic |
44
- | [ GNS] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_gns_fix_data ) | Combined GPS fix for GPS, Glonass, Galileo, and BeiDou |
45
- | [ VDM/VDO] ( https://gpsd.gitlab.io/gpsd/AIVDM.html ) | Encapsulated binary payload (commonly used with AIS data) |
46
- | [ WPL] ( http://aprs.gids.nl/nmea/#wpl ) | Waypoint location |
47
- | [ RTE] ( http://aprs.gids.nl/nmea/#rte ) | Route |
48
- | [ ROT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_rot_rate_of_turn ) | Rate of turn |
49
- | [ VHW] ( https://www.tronico.fi/OH6NT/docs/NMEA0183.pdf ) | Water Speed and Heading |
50
- | [ DPT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dpt_depth_of_water ) | Depth of Water |
51
- | [ DBS] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dbs_depth_below_surface ) | Depth Below Surface |
52
- | [ DBT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dbt_depth_below_transducer ) | Depth below transducer |
53
- | [ MDA] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mda_meteorological_composite ) | Meteorological Composite |
54
- | [ MWD] ( https://www.tronico.fi/OH6NT/docs/NMEA0183.pdf ) | Wind Direction and Speed |
55
- | [ MWV] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mwv_wind_speed_and_angle ) | Wind Speed and Angle |
56
- | [ MTW] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mtw_mean_temperature_of_water ) | Mean Temperature of Water |
57
- | [ THS] ( http://www.nuovamarea.net/pytheas_9.html ) | Actual vessel heading in degrees True and status |
58
- | [ TXT] ( https://www.nmea.org/Assets/20160520%20txt%20amendment.pdf ) | Sentence is for the transmission of text messages |
32
+ | Sentence type | Description |
33
+ | -----------------------------------------------------------------------------------------------| -----------------------------------------------------------|
34
+ | [ AAM] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_aam_waypoint_arrival_alarm ) | Waypoint Arrival Alarm |
35
+ | [ ALA] ( ./ala.go ) | System Faults and Alarms |
36
+ | [ APB] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_apb_autopilot_sentence_b ) | Autopilot Sentence "B" |
37
+ | [ BEC] ( http://www.nmea.de/nmea0183datensaetze.html#bec ) | Bearing and distance to waypoint (dead reckoning) |
38
+ | [ BOD] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_bod_bearing_waypoint_to_waypoint ) | Bearing waypoint to waypoint (origin to destination) |
39
+ | [ BWC] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_bwc_bearing_distance_to_waypoint_great_circle ) | Bearing and distance to waypoint (great circle) |
40
+ | [ BWR] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_bwr_bearing_and_distance_to_waypoint_rhumb_line ) | Bearing and distance to waypoint (Rhumb Line) |
41
+ | [ BWW] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_bww_bearing_waypoint_to_waypoint ) | Bearing from destination waypoint to origin waypoint |
42
+ | [ DBK] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dbk_depth_below_keel ) | Depth Below Keel (obsolete, use DPT instead) |
43
+ | [ DBS] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dbs_depth_below_surface ) | Depth Below Surface (obsolete, use DPT instead) |
44
+ | [ DBT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dbt_depth_below_transducer ) | Depth below transducer |
45
+ | [ DOR] ( ./dor.go ) | Door Status Detection |
46
+ | [ DPT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_dpt_depth_of_water ) | Depth of Water |
47
+ | [ DSC] ( ./dsc.go ) | Digital Selective Calling Information |
48
+ | [ DSE] ( ./dse.go ) | Expanded digital selective calling |
49
+ | [ EVE] ( ./eve.go ) | General Event Message |
50
+ | [ FIR] ( ./fir.go ) | Fire Detection event with time and location |
51
+ | [ GGA] ( http://aprs.gids.nl/nmea/#gga ) | GPS Positioning System Fix Data |
52
+ | [ GLL] ( http://aprs.gids.nl/nmea/#gll ) | Geographic Position, Latitude / Longitude and time |
53
+ | [ GNS] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_gns_fix_data ) | Combined GPS fix for GPS, Glonass, Galileo, and BeiDou |
54
+ | [ GSA] ( http://aprs.gids.nl/nmea/#gsa ) | GPS DOP and active satellites |
55
+ | [ GSV] ( http://aprs.gids.nl/nmea/#gsv ) | GPS Satellites in view |
56
+ | [ HDG] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_hdg_heading_deviation_variation ) | Heading, Deviation & Variation |
57
+ | [ HDM] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_hdm_heading_magnetic ) | Heading - Magnetic |
58
+ | [ HDT] ( http://aprs.gids.nl/nmea/#hdt ) | Actual vessel heading in degrees True |
59
+ | [ HSC] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_hsc_heading_steering_command ) | Heading steering command |
60
+ | [ MDA] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mda_meteorological_composite ) | Meteorological Composite |
61
+ | [ MTA] ( ./mta.go ) | Air Temperature (obsolete, use XDR instead) |
62
+ | [ MTW] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mtw_mean_temperature_of_water ) | Mean Temperature of Water |
63
+ | [ MWD] ( https://www.tronico.fi/OH6NT/docs/NMEA0183.pdf ) | Wind Direction and Speed |
64
+ | [ MWV] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_mwv_wind_speed_and_angle ) | Wind Speed and Angle |
65
+ | [ RMB] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_rmb_recommended_minimum_navigation_information ) | Recommended Minimum Navigation Information |
66
+ | [ RMC] ( http://aprs.gids.nl/nmea/#rmc ) | Recommended Minimum Specific GPS/Transit data |
67
+ | [ ROT] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_rot_rate_of_turn ) | Rate of turn |
68
+ | [ RPM] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_rpm_revolutions ) | Engine or Shaft revolutions and pitch |
69
+ | [ RSA] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_rsa_rudder_sensor_angle ) | Rudder Sensor Angle |
70
+ | [ RTE] ( http://aprs.gids.nl/nmea/#rte ) | Route |
71
+ | [ THS] ( http://www.nuovamarea.net/pytheas_9.html ) | Actual vessel heading in degrees True and status |
72
+ | [ TXT] ( https://www.nmea.org/Assets/20160520%20txt%20amendment.pdf ) | Sentence is for the transmission of text messages |
73
+ | [ VDM/VDO] ( https://gpsd.gitlab.io/gpsd/AIVDM.html ) | Encapsulated binary payload (commonly used with AIS data) |
74
+ | [ VDR] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_vdr_set_and_drift ) | Set and Drift |
75
+ | [ VHW] ( https://www.tronico.fi/OH6NT/docs/NMEA0183.pdf ) | Water Speed and Heading |
76
+ | [ VLW] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_vlw_distance_traveled_through_water ) | Distance Traveled through Water |
77
+ | [ VPW] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_vpw_speed_measured_parallel_to_wind ) | Speed Measured Parallel to Wind |
78
+ | [ VTG] ( http://aprs.gids.nl/nmea/#vtg ) | Track Made Good and Ground Speed |
79
+ | [ VWR] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_vwr_relative_wind_speed_and_angle ) | Relative Wind Speed and Angle |
80
+ | [ VWT] ( ./vwt.go ) | True Wind Speed and Angle |
81
+ | [ WPL] ( http://aprs.gids.nl/nmea/#wpl ) | Waypoint location |
82
+ | [ XDR] ( https://gpsd.gitlab.io/gpsd/NMEA.html#_xdr_transducer_measurement ) | Transducer Measurement |
83
+ | [ ZDA] ( http://aprs.gids.nl/nmea/#zda ) | Date & time data |
59
84
60
85
| Proprietary sentence type | Description |
61
86
| -------------------------------------------------------------| -------------------------------------------------------------------------------------------------|
62
- | [ PMTK] ( https://www.rhydolabz.com/documents/25/PMTK_A11.pdf ) | Messages for setting and reading commands for MediaTek gps modules. |
63
87
| [ PGRME] ( http://aprs.gids.nl/nmea/#rme ) | Estimated Position Error (Garmin proprietary sentence) |
64
- | [ PSONCMS] ( # ) | Quaternion, acceleration, rate of turn, magnetic field, sensor temperature (Xsens IMU/VRU/AHRS) |
65
- | [ PRDID] ( # ) | Vessel pitch, roll and heading (Xsens IMU/VRU/AHRS) |
66
88
| [ PHTRO] ( # ) | Vessel pitch and roll (Xsens IMU/VRU/AHRS) |
89
+ | [ PMTK] ( https://www.rhydolabz.com/documents/25/PMTK_A11.pdf ) | Messages for setting and reading commands for MediaTek gps modules. |
90
+ | [ PRDID] ( # ) | Vessel pitch, roll and heading (Xsens IMU/VRU/AHRS) |
91
+ | [ PSONCMS] ( # ) | Quaternion, acceleration, rate of turn, magnetic field, sensor temperature (Xsens IMU/VRU/AHRS) |
67
92
68
93
If you need to parse a message that contains an unsupported sentence type you can implement and register your own
69
94
message parser and get yourself unblocked immediately. Check the example below to know how
0 commit comments