{"id":23408571,"url":"https://github.com/pilebones/go-nmea","last_synced_at":"2025-09-05T11:13:05.662Z","repository":{"id":26249746,"uuid":"98889576","full_name":"pilebones/go-nmea","owner":"pilebones","description":"GPS / NMEA packet message dissector (standard and proprietary)","archived":false,"fork":false,"pushed_at":"2022-02-19T02:53:40.000Z","size":67,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-11T23:52:42.245Z","etag":null,"topics":["coordinates","go","golang","gps","nmea","nmea-parser","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pilebones.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-31T13:04:44.000Z","updated_at":"2023-05-09T05:20:05.000Z","dependencies_parsed_at":"2022-08-07T12:00:08.802Z","dependency_job_id":null,"html_url":"https://github.com/pilebones/go-nmea","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-nmea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-nmea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-nmea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Fgo-nmea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilebones","download_url":"https://codeload.github.com/pilebones/go-nmea/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497851,"owners_count":21113984,"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":["coordinates","go","golang","gps","nmea","nmea-parser","parser"],"created_at":"2024-12-22T15:15:50.662Z","updated_at":"2025-04-11T23:52:47.422Z","avatar_url":"https://github.com/pilebones.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-nmea [![Go Report Card](https://goreportcard.com/badge/github.com/pilebones/go-nmea)](https://goreportcard.com/report/github.com/pilebones/go-nmea) [![GitHub Repo stars](https://img.shields.io/github/stars/pilebones/go-nmea)](https://somsubhra.github.io/github-release-stats/?username=pilebones\u0026repository=go-nmea) [![GoDoc](https://godoc.org/github.com/pilebones/go-nmea?status.svg)](https://godoc.org/github.com/pilebones/go-nmea) [![Release](https://img.shields.io/github/release/pilebones/go-nmea.svg)](https://github.com/pilebones/go-nmea/releases/latest) [![License](https://img.shields.io/github/license/pilebones/go-nmea)](/LICENSE) ![Build Status](https://github.com/pilebones/go-nmea/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/pilebones/go-nmea/badge.svg?branch=master)](https://coveralls.io/github/pilebones/go-nmea?branch=master)\n\nA Golang library for decode and serialize standard and proprietary NMEA packet message (GPS information dissector).\n\nTested with this [GPS Module](http://wiki.52pi.com/index.php/USB-Port-GPS_Module_SKU:EZ-0048) cover [L80 gps protocol specification v1.0.pdf](http://wiki.52pi.com/index.php/File:L80_gps_protocol_specification_v1.0.pdf).\nSee another [NMEA specification](http://aprs.gids.nl/nmea/).\n\n## NMEA Specification\n\nNMEA standard specification provide 58 kind of message with different structure.\nAnd more according to GPS devices manufacturer (ex: 40 proprietary message identified prefixed by `PMTK` for `L80 GPS protocol specification`).\n\nSyntax: `$\u003ctalker_id\u003e\u003cmessage_id\u003e[\u003cdata-fields\u003e...]*\u003cchecksum\u003e\u003cCRLF\u003e`\n\n## Supported NMEA message\n\nThe following list will be expanded to manage new types, but now the library can decode and serialize:\n\n* `$GPRMC` - Recommended Minimum Specific GPS/TRANSIT Data\n* `$GPVTG` - Track Made Good and Ground Speed\n* `$GPGGA` - Global Positioning System Fix Data\n* `$GPGSA` - GPS DOP and active satellites\n* `$GPGSV` - GPS Satellites in view\n* `$GPGLL` - Geographic position, latitude / longitude\n* `$GPTXT` - Transfert various text information\n\n## Usage\n\nLibrary for parsing (read) or serialize (write) NMEA packets (bijective handling), see below:\n\n```go\npackage main\n\nimport \"fmt\"\nimport nmea \"github.com/pilebones/go-nmea\"\n\nfunc main() {\n\traw := \"$GPGGA,015540.000,3150.68378,N,11711.93139,E,1,17,0.6,0051.6,M,0.0,M,,*58\"\n\n\tfmt.Println(\"Parsing NMEA message:\", raw)\n\tmsg, err := nmea.Parse(raw)\n\tif err != nil {\n\t\tfmt.Println(\"Unable to decode nmea message, err:\", err.Error())\n\t\treturn\n\t}\n\n\t// TODO: Handling complex struct depending on kind of nmea message\n\n\tfmt.Println(\"Craft NMEA packets using Serialize():\", msg.Serialize())\n}\n```\n\n## Documentation\n- [GoDoc Reference](http://godoc.org/github.com/pilebones/go-nmea).\n\n## License\n\ngo-nmea is available under the [GNU GPL v3 - Clause License](https://opensource.org/licenses/GPL-3.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Fgo-nmea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilebones%2Fgo-nmea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Fgo-nmea/lists"}