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.
eeeeeta 16b47f1dfb do away with stringly typed errors 4 years ago
benches travis check style #2: should fix travis build error 6 years ago
examples Add error-chain and some cleanup 6 years ago
src do away with stringly typed errors 4 years ago
tests fix parsing of real data 6 years ago
.gitignore fix parsing of real data 6 years ago
.travis.yml Force rustfmt installation 5 years ago
AUTHORS.txt prepare 0.0.5 release 6 years ago
Cargo.toml drop the hashmap_core dep 4 years ago
LICENSE.txt Added some meta information 7 years ago
README.md slim it down 4 years ago
appveyor.yml add appveyor config for testing on windows 6 years ago

README.md

NMEA (slimline)

License

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.

Complete Documentation

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);