{"id":28183218,"url":"https://github.com/kengu/antz","last_synced_at":"2025-05-16T04:15:42.518Z","repository":{"id":291337218,"uuid":"977105983","full_name":"kengu/antz","owner":"kengu","description":"Repo with ANT+ projects","archived":false,"fork":false,"pushed_at":"2025-05-03T23:51:50.000Z","size":1783,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T00:27:21.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kengu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-05-03T12:44:17.000Z","updated_at":"2025-05-03T23:51:53.000Z","dependencies_parsed_at":"2025-05-04T00:37:29.552Z","dependency_job_id":null,"html_url":"https://github.com/kengu/antz","commit_stats":null,"previous_names":["kengu/antz"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kengu%2Fantz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kengu%2Fantz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kengu%2Fantz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kengu%2Fantz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kengu","download_url":"https://codeload.github.com/kengu/antz/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464873,"owners_count":22075572,"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":"2025-05-16T04:15:31.685Z","updated_at":"2025-05-16T04:15:42.511Z","avatar_url":"https://github.com/kengu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANT+ development with MacOS\n\n![License](https://img.shields.io/badge/license-BSD%202--Clause-blue.svg)\n![CMake](https://img.shields.io/badge/cmake-%3E=3.16-blue)\n![Platform](https://img.shields.io/badge/platform-macOS-lightgrey)\n\n\nWelcome to the **Antz** monorepo! This repository contains multiple projects, with the main focus being the **ANT-SDK\\_Mac.3.5** project for macOS development, specifically for handling ANT+ communication protocols.\n\n## Directory Structure\n\n```text\nantz/\n│\n├── ANT-SDK_Mac.3.5/          # Main project for ANT+ SDK on macOS\n│   ├── Bin/*                 # Ant+ binaries to include in other projects \n│   ├── Bin/demo_lib          # Statically linked demo executable \n│   ├── Bin/demo_dylib        # Dynamically linked demo executable \n│   ├── CMakeLists.txt        # CMake build configuration\n│   ├── README.md             # Project-specific documentation (optional)\n│   └── ...                   # Source code, libraries, binaries, etc.\n├── ant_discovery/            # Test project for ant discovery methods\n│   ├── include/*             # Discovery header files\n│   ├── src/*                 # Discovery implementations\n│   ├── Bin/*                 # Ant+ binaries to include in other projects \n│   ├── CMakeLists.txt        # CMake build configuration for ant discovery binary\n│\n└── README.md                 # This file\n```\n\n## ANT-SDK\\_Mac.3.5\n\nThe **ANT-SDK\\_Mac.3.5** folder contains the source code and build setup for the ANT+ Software Development Kit (SDK) tailored for macOS. This SDK provides support for integrating ANT+ communication in macOS applications, including device handling, ANT+ protocol support, and related utilities.\n\n### Prerequisites\n\nEnsure you have the following dependencies installed:\n\n* **CMake** (version 3.16 or higher)\n* **Xcode** with command-line tools\n* **clang++** with C++14 support\n\n### Building the Project\n\nFrom the `ANT-SDK_Mac.3.5` directory, run:\n\n```bash\ncmake -S . -B build\ncmake --build build --target full_build\n```\n\nThis will compile both the static and shared libraries, and the demo executables.\n\n### Building Individual Targets\n\nTo build selectively:\n\n```bash\ncmake --build build --target static_build   # For demo_lib\ncmake --build build --target shared_build   # For demo_dylib\ncmake --build build --target demo_dll       # For DLL demo\n```\n\n### Installing Binaries\n\nTo install all targets to the `./Bin` folder:\n\n```bash\ncmake --build build --target install_local\n```\n\n### Cleaning the Build\n\nTo remove the build directory:\n\n```bash\ncmake --build build --target clean_build\n```\n\n### Available Build Targets\n\n* `demo_lib`: Builds demo linked statically with libantbase.a\n* `demo_dylib`: Builds demo linked dynamically with libantbase\\_shared.dylib\n* `demo_dll`: Builds demo using libant.dylib (from DEMO\\_DLL)\n* `antbase`: Static library (libantbase.a)\n* `antbase_shared`: Shared library (libantbase\\_shared.dylib)\n* `libant`: Shared library (libant.dylib)\n\n### Utility Targets\n\n* `static_build`: Builds demo\\_lib\n* `shared_build`: Builds demo\\_dylib\n* `full_build`: Builds all demos and libraries\n* `clean_build`: Deletes build output\n* `install_local`: Installs build output to `./Bin`\n\n## Executables\n\n* `demo_lib` statically links against `libantbase.a`\n* `demo_dylib` dynamically links against `libantbase_shared.dylib`\n* `demo_dll` dynamically links against `libant.dylib`\n\n## Ant+ discovery project\n\nSimple test project for algorithms for discovery of ant devices\n\n## License\n\nThis repository is organized as a monorepo containing both proprietary and third-party code.\n\n* **ANT-SDK\\_Mac.3.5** is distributed under the [ANT+ Shared Source License](https://www.thisisant.com/developer/ant/licensing) by Dynastream Innovations, Inc. See [ANT-SDK\\_Mac.3.5/License.txt](ANT-SDK_Mac.3.5/License.txt) for details.\n* All other code in this repository is distributed under the terms of the **BSD 2-Clause License** unless stated otherwise.\n\nPlease ensure that you comply with the specific license terms when using or redistributing components from this repository.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkengu%2Fantz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkengu%2Fantz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkengu%2Fantz/lists"}