Function nmea::sentences::parse_mtw

source ·
pub fn parse_mtw(sentence: NmeaSentence<'_>) -> Result<MtwData, Error<'_>>
Expand description

Parse MTW message

Information from mtw:

NMEA 0183 standard Mean Temperature of Water. https://gpsd.gitlab.io/gpsd/NMEA.html#_mtw_mean_temperature_of_water

Example (Ignore the line break):

$INMTW,17.9,C*1B

1: 17.9 Temperature, degrees 2: C Unit of Measurement, (only) Celsius 3: *16 Mandatory NMEA checksum