Owez / nmea

NMEA 0183 parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[NMEA][doc]

Version Build Status codecov License

[Full Documentation][doc]

nmea is an NMEA 0183 parser made in Rust. Currently only GGA, GSV, GSA, VTG and RMC sentences are supported. Feel free to add others.

The current units this crate is tested to handle are:

  • Degrees
  • Knots
  • Meters (of altitude)

Usage

Put this in your Cargo.toml:

[dependencies]
nmea = "0.0.7"

Then you can import and feed it nmea sentances!

use nmea::Nmea;

let mut nmea = Nmea::new();
let gga = "$GPGGA,092750.000,5321.6802,N,00630.3372,W,1,8,1.03,61.7,M,55.2,M,,*76";

nmea.parse(gga).unwrap();

println!("{}", nmea);

About

NMEA 0183 parser

License:Other


Languages

Language:Rust 100.0%