{"id":16938759,"url":"https://github.com/yageek/navilink","last_synced_at":"2025-10-24T09:51:11.484Z","repository":{"id":136753798,"uuid":"1110026","full_name":"yageek/navilink","owner":"yageek","description":"Basic Navilink GPS paydata library","archived":false,"fork":false,"pushed_at":"2019-03-03T20:58:25.000Z","size":1263,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T02:33:09.575Z","etag":null,"topics":["c","navilink","serialport"],"latest_commit_sha":null,"homepage":"","language":"C","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/yageek.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-11-24T18:56:40.000Z","updated_at":"2019-03-03T20:58:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2b0a6d3-9873-4548-b078-dfbfcd22866d","html_url":"https://github.com/yageek/navilink","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/yageek%2Fnavilink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Fnavilink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Fnavilink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yageek%2Fnavilink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yageek","download_url":"https://codeload.github.com/yageek/navilink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745715,"owners_count":20503048,"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":["c","navilink","serialport"],"created_at":"2024-10-13T21:02:27.502Z","updated_at":"2025-10-24T09:51:06.446Z","avatar_url":"https://github.com/yageek.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Navilink\n\nA simple C library for the [Navilink protocol](http://notes.splitbrain.org/navilink). This can be used to communicate\nwith some Locosys GPS device.\n\n# Installation\n\nYou will require the following to build the library:\n\n- CMake (\u003e= 3.2)\n- [libserialport](https://sigrok.org/wiki/Libserialport) (0.1.1)\n\nTo build the library:\n```shell\ngit clone git@github.com:yageek/navilink.git\ncd navilink\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake \nmake install\n```\n# Usage\n\nSome simple example:\n```c\n#include \u003cnavilink/navilink.h\u003e\n\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\nint main(int argc, char** argv)\n{\n\n  NavilinkDevice device;\n  int result = navilink_open_device_from_name(\"/dev/tty.usbserial\", \u0026device);\n  if (result \u003c 0) {\n    perror(\"Can not open the serial port\");\n    exit(-1);\n  }\n\n  NavilinkInformation infos;\n  result = navilink_query_information(\u0026device, \u0026infos);\n  if (result \u003c 0) {\n    perror(\"Can not query the device informations\");\n  }\n  else {\n    printf(\"Device username: %s \\n\", infos.username);\n    printf(\"Device serial: %i \\n\", infos.deviceSerialNum);\n    printf(\"Device protocol version: %i \\n\", infos.protocolVersion);\n    printf(\"Device number of trackspoints: %i \\n\", infos.numOfTrackpoints);\n  }\n\n  navilink_close_device(\u0026device);\n  return 0;\n}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyageek%2Fnavilink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyageek%2Fnavilink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyageek%2Fnavilink/lists"}