{"id":13581189,"url":"https://github.com/cujomalainey/antplus-arduino","last_synced_at":"2025-08-23T10:32:15.213Z","repository":{"id":44801453,"uuid":"102388590","full_name":"cujomalainey/antplus-arduino","owner":"cujomalainey","description":"An Implementation of the ANT+ Network on top of ant-arduino","archived":false,"fork":false,"pushed_at":"2024-09-18T23:00:34.000Z","size":1097,"stargazers_count":150,"open_issues_count":5,"forks_count":26,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-07T20:56:23.127Z","etag":null,"topics":["ant","ant-arduino","ant-network","antplus","antplus-arduino","antplus-sdk","arduino","arduino-library","mbed","profile","radio","sportsanalytics"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cujomalainey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-09-04T18:04:23.000Z","updated_at":"2025-03-01T20:10:58.000Z","dependencies_parsed_at":"2024-01-16T20:50:53.119Z","dependency_job_id":"ea55c7a2-5957-4550-8e4f-0e648c5f5f64","html_url":"https://github.com/cujomalainey/antplus-arduino","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/cujomalainey/antplus-arduino","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cujomalainey%2Fantplus-arduino","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cujomalainey%2Fantplus-arduino/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cujomalainey%2Fantplus-arduino/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cujomalainey%2Fantplus-arduino/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cujomalainey","download_url":"https://codeload.github.com/cujomalainey/antplus-arduino/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cujomalainey%2Fantplus-arduino/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746655,"owners_count":24813575,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ant","ant-arduino","ant-network","antplus","antplus-arduino","antplus-sdk","arduino","arduino-library","mbed","profile","radio","sportsanalytics"],"created_at":"2024-08-01T15:01:59.022Z","updated_at":"2025-08-23T10:32:15.207Z","avatar_url":"https://github.com/cujomalainey.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# antplus-arduino\nAn Implementation of the Ant+ Network on top of [ant-arduino](https://github.com/cujomalainey/ant-arduino)\n\n## Status\n\nThis repository is in maintenance mode! Garmin has signaled the end of the ANT/ANT+ ecosystem, therefore I will not be adding any new features, feel free to send PRs and I will review and integrate.\n\n## Roadmap\n\n* Build support for non-ANT+ channel interfacing\n* Adding more profiles\n\n[Developer's Guide](https://github.com/cujomalainey/antplus-arduino/wiki/Developer's-Guide)\n\n## Example\nI have created several sketches of configuring the radio with the ant-arduino library. You can find these in the examples folder. Here's an example of configuring a channel with a NRF51 radio:\n\n```c++\nAntWithCallbacks ant = AntWithCallbacks();\nAntPlusRouter router = AntPlusRouter();\nProfileHeartRateMonitor hr = ProfileHeartRateMonitor(WILDCARD_DEVICE);\n\nvoid previousHeartBeatDataPageHandler(HeartRatePreviousHeartBeat\u0026 dp, uintptr_t data) {\n    Serial.print(\"HR: \");\n    Serial.println(dp.getComputedHeartRate());\n}\n\nvoid setup() {\n    Serial1.begin(BAUD_RATE);\n    ant.setSerial(Serial1);\n    delay(10000);\n\n    router.setDriver(\u0026ant); // never touch ant again\n    router.setAntPlusNetworkKey(NETWORK_KEY);\n    router.setProfile(CHANNEL_0, \u0026hr);\n    // Delay after initial setup to wait for user to connect on serial\n\n    Serial.begin(BAUD_RATE);\n    Serial.println(\"Running\");\n    hr.onHeartRatePreviousHeartBeat(previousHeartBeatDataPageHandler, NULL);\n    hr.begin();\n    // wait for pair to complete\n    hr.waitForPair();\n}\n\nvoid loop() {\n    router.loop();\n}\n```\n\nSee the examples folder for the full source. There are more examples in the download.\n\nTo add ANT support to a new sketch, add \"#include \u003cANTPLUS.h\u003e\" (without quotes) to the top of your sketch. You can also add it by selecting the \"sketch\" menu, and choosing \"Import Library-\u003eANT+\".\n\n## Hardware\n\nSee [ant-arduino](https://github.com/cujomalainey/ant-arduino#hardware)\n\n## Support ANT+ Profiles\n\nThis library aims to support all ANT+ devices. This goal will take time but its an attainable one. Check out the [wiki](https://github.com/cujomalainey/antplus-arduino/wiki/Profile-Support) for the list of profiles implemented and their versions.\n\n## Installation\n\n**Note: This library depends on [ant-arduino](https://github.com/cujomalainey/ant-arduino). You must have it installed for it to work.** If you are using platformio you don't have to worry about this.\n\nArduino 1.5 and later\n\nArduino now includes a library manager for easier library installation. From the Sketch menu select include library-\u003eManage Libraries, then type \"antplus-arduino\" in the filter and install.\n\nPrior to Arduino 1.5 installation is manual\n\nDownload a .zip or .tar.gz release from github. Determine the location of your sketchbook by selecting \"preferences\" on the Arduino menu. Create a \"libraries\" folder in your sketchbook and unzip the release file in that location.\n\nIf you are using platformio you can install the library by running\n``` platformio lib install 1879 ```\n\n## Uploading Sketches\n\nUploading sketches with a Leonardo is as simple as connecting the Arduino to your computer and uploading. When using a single serial port Arduino, such as the Pro Mini (3.3V), the jumpers on the ANT Radio must be disconnected. Then, after upload, reconnect the lines to have access to the serial port. Always remember to power off the Arduino before moving the jumpers.\n\n## Configuration\n\nSee [ant-arduino](https://github.com/cujomalainey/ant-arduino#configuration)\n\n## Questions/Feedback\n\nQuestions about this project should be posted to Github Discussion. Be sure to provide as much detail as possible (e.g. what radios, firmware versions, configuration and code).\n\n## Consulting/Commercial Licenses\nAt the current time there is zero support for commercial usage. Contact me via email if you are looking to use this code commercially.\n\nIf you are looking for commercial support for ANT radios go to thisisant.com\n\nNOTE: This library is not ANT+ certified and does not intend to be. It is meant to be tool to get quick and easy access to sensors in the ANT+ network. There are edge cases where it will fail to meet the spec of the ANT+ protocol.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcujomalainey%2Fantplus-arduino","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcujomalainey%2Fantplus-arduino","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcujomalainey%2Fantplus-arduino/lists"}