You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 years ago | |
---|---|---|
benches | 6 years ago | |
examples | 6 years ago | |
src | 4 years ago | |
tests | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 5 years ago | |
AUTHORS.txt | 6 years ago | |
Cargo.toml | 4 years ago | |
LICENSE.txt | 7 years ago | |
README.md | 4 years ago | |
appveyor.yml | 6 years ago |
README.md
NMEA (slimline)
NMEA 0183 sentence parser for Rust, slimmed down to work under #![no_std]
.
Currently only GGA,GSV, GSA, VTG and RMC sentences are supported. Feel free to add others.
Usage
Put this in your Cargo.toml
:
[dependencies]
nmea = "0.0.7"
And put this in your crate root:
extern crate nmea;
To use the NMEA parser create a Nmea struct and feed it with NMEA sentences:
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);