{"id":20313554,"url":"https://github.com/66origin/nmea-0183","last_synced_at":"2025-04-11T17:12:45.421Z","repository":{"id":43409466,"uuid":"193758517","full_name":"66Origin/nmea-0183","owner":"66Origin","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-17T14:10:53.000Z","size":122,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T23:19:33.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/66Origin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-25T18:01:42.000Z","updated_at":"2023-10-03T07:38:07.000Z","dependencies_parsed_at":"2022-08-26T20:57:14.347Z","dependency_job_id":null,"html_url":"https://github.com/66Origin/nmea-0183","commit_stats":null,"previous_names":["yellowinnovation/nmea-0183"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fnmea-0183","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fnmea-0183/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fnmea-0183/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/66Origin%2Fnmea-0183/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/66Origin","download_url":"https://codeload.github.com/66Origin/nmea-0183/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224668396,"owners_count":17349966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:11:47.572Z","updated_at":"2024-11-14T18:11:48.386Z","avatar_url":"https://github.com/66Origin.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NMEA-0183\nA nmea-0183 sentence parser written in Rust using Nom.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://crates.io/crates/nmea-0183\"\u003e\n      \u003cimg src=\"https://meritbadge.herokuapp.com/nmea-0183\" alt=\"crates.io/nmea-0183\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.com/YellowInnovation/nmea-0183\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/YellowInnovation/nmea-0183/master.svg\" alt=\"Travis Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://docs.rs/nmea-0183/\"\u003e\n      \u003cimg src=\"https://docs.rs/nmea-0183/badge.svg\" alt=\"documentation\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n## Example\n\n```rust\nuse nmea_0183::sentence::parse;\n\nfn main() {\n    // We first need a sentence to parse.\n    // According to the NMEA-0183 specification, a sentence ends with \u003cCR\u003e\u003cLF\u003e\n    let raw_sentence = \"$GPGGA,092725.00,4717.11399,N,00833.91590,E,1,08,1.01,499.6,M,48.0,M,,*5B\\r\\n\";\n    let parsed_sentence = parse(raw_sentence)\n        .expect(\"Could not parse nmea sentence.\");\n\n    println!(\"{:?}\", parsed_sentence);\n\n    /*\n    Sentence {\n        sentence_type: Parametric,\n        talker: GPS,\n        message: GGA(GGAMessage {\n            time: Some(09:27:25),\n            lat: Some(Degree(47.1711399)),\n            ns: North,\n            lon: Some(Degree(8.339159)),\n            ew: East,\n            quality: AutonomousGNSSFix,\n            num_sv: Some(8),\n            hdop: Some(1.01),\n            alt: Some(Meter(499.6)),\n            sep: Some(Meter(48.0)),\n            diff_age: None,\n            diff_station: None\n        })\n    }\n    */\n\n}\n```\n\n## Status\n\nThe parser is at an early stage, I have written it by following the [U-Blox Receiver Protcol Specification](https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_%28UBX-13003221%29_Public.pdf) and interpreting it as well as I could.\n\nI have written unit tests based on the provided samples, but I don't have any receiver yet to test the output.\n\nIf you would like to improve it, or if you find a (one of many!) bug please [open an issue](https://github.com/YellowInnovation/nmea-0183/issues/new) or, even better, [submit a pull request](https://github.com/YellowInnovation/nmea-0183/compare) :)\n\n## How to install\n\nIf you use [cargo-edit](https://github.com/killercup/cargo-edit) (which I recommend), open a shell in the project you want to add the library to and run the following command:\n\n```bash\n$ cargo add nmea-0183\n      Adding nmea-0183 v0.0.2 to dependencies\n```\n\nIf you don't, add the library to your Cargo.toml dependencies:\n\n```toml\n\n[dependencies]\nnmea-0183 = \"*\"\n\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\nDual MIT/Apache2 is strictly more permissive\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F66origin%2Fnmea-0183","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F66origin%2Fnmea-0183","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F66origin%2Fnmea-0183/lists"}