[][src]Function nmea_parser::decode_sentence

pub fn decode_sentence(
    sentence: &str,
    nmea_store: &mut NmeaStore
) -> Result<ParsedSentence, String>

Decode NMEA sentence into ParsedSentence string. In case of multi-fragment sentences up to two two fragments are supported. Notice that in case of class B AIVDM VesselStaticData results you have to merge them with a possible existing VesselStaticData of the same same MMSI. See VesselStaticData::merge for more information.