Crate nmea_parser

Source
Expand description

§NMEA Parser: NMEA parser for Rust

This crate aims to cover all AIS sentences and the most important GNSS sentences used with NMEA 0183 standard. The parser supports AIS class A and B types. It also identifies GPS, GLONASS, Galileo, BeiDou, NavIC and QZSS satellite systems.

Usage in a #[no_std] environment is also possible though an allocator is required

Re-exports§

pub use chrono;

Modules§

ais
AIS VDM/VDO data structures
gnss
GNSS data structures

Structs§

NmeaParser
NMEA sentence parser which keeps multi-sentence state between parse_sentence calls. The parser tries to be as permissible as possible about the field formats because some NMEA encoders don’t follow the standards strictly.

Enums§

ParseError
Parse error returned by NmeaParser::parse_sentence(). String data type is used instead of static &str because the error messages are expected to contain context-specific details.
ParsedMessage
Result from function NmeaParser::parse_sentence(). If the given sentence represents only a partial message ParsedMessage::Incomplete is returned.

Traits§

LatLon
Read-only access to geographical position in the implementing type.