tiny-nmea

Crates.iotiny-nmea
lib.rstiny-nmea
version0.1.0
sourcesrc
created_at2023-03-10 23:05:36.666232
updated_at2023-03-10 23:05:36.666232
descriptionA tiny NMEA parser for embedded systems. Works with `#[no_std]` and doesn't require heap allocation. and doesn't require heap allocation
homepage
repositoryhttps://github.com/McMaster-Rocketry-Team/rust-monorepo
max_upload_size
id806804
size494,230
Kaitlyn Kenwell (Redrield)

documentation

README

Tiny NMEA

A tiny NMEA parser for embedded systems. Works in #[no_std] and don't need a memory allocator.

Supported Sentences

  • GSV
  • GLL

Example

use tiny_nmea::NMEA;
use heapless::String;

let mut nmea = NMEA::new();
nmea.update(&String::from("$GNGLL,4315.68533,N,07955.20234,W,080023.000,A,A*5D\r\n"));
info!("longitude: {}", nmea.longitude.unwrap());

Sample Data

The nmea.txt file in this directory contains around 20 minutes of NMEA data from a GPS receiver. At around 13000 line, the GPS receiver obtained a fix.

TODO

  • Error handling
Commit count: 220

cargo fmt