| Crates.io | tiny-nmea |
| lib.rs | tiny-nmea |
| version | 0.1.0 |
| created_at | 2023-03-10 23:05:36.666232+00 |
| updated_at | 2023-03-10 23:05:36.666232+00 |
| description | A tiny NMEA parser for embedded systems. Works with `#[no_std]` and doesn't require heap allocation. and doesn't require heap allocation |
| homepage | |
| repository | https://github.com/McMaster-Rocketry-Team/rust-monorepo |
| max_upload_size | |
| id | 806804 |
| size | 494,230 |
A tiny NMEA parser for embedded systems. Works in #[no_std] and don't need a memory allocator.
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());
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.