Function nmea::sentences::parse_mwv

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

Parse MWV message

Information from mwv:

NMEA 0183 standard Wind Speed and Angle, in relation to the vessel’s bow/centerline. https://gpsd.gitlab.io/gpsd/NMEA.html#_mwv_wind_speed_and_angle

Example (Ignore the line break):

$WIMWV,041.1,R,01.0,N,A*16

1: 041.1 Wind direction, cardinal NED degrees 2: R Relative or Theoretical windspeed 3: 01.0 Wind speed 4: N Wind speed units (Knots) 5: A Data is OK 6: *16 Mandatory NMEA checksum