{"id":18330354,"url":"https://github.com/mbientlab/metawear-sdk-cpp","last_synced_at":"2025-12-24T20:22:21.315Z","repository":{"id":37483987,"uuid":"43282362","full_name":"mbientlab/MetaWear-SDK-Cpp","owner":"mbientlab","description":"MetaWear C++ SDK - Platform Agnostic - Main lib - No Bluetooth","archived":false,"fork":false,"pushed_at":"2025-05-31T16:04:41.000Z","size":2998,"stargazers_count":47,"open_issues_count":5,"forks_count":45,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-10-10T03:31:56.762Z","etag":null,"topics":["bluetooth-le","cpp14","ios","linux","metamotion","metawear","metawear-sdk","msbuild","osx","sensors","windows"],"latest_commit_sha":null,"homepage":"https://mbientlab.com","language":"C++","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/mbientlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-09-28T05:49:56.000Z","updated_at":"2025-07-07T08:57:07.000Z","dependencies_parsed_at":"2024-06-21T15:21:28.947Z","dependency_job_id":"f09f0f56-a03e-44d7-8671-24a5c407e82a","html_url":"https://github.com/mbientlab/MetaWear-SDK-Cpp","commit_stats":null,"previous_names":["mbientlab/metawear-cppapi"],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/mbientlab/MetaWear-SDK-Cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbientlab%2FMetaWear-SDK-Cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbientlab%2FMetaWear-SDK-Cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbientlab%2FMetaWear-SDK-Cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbientlab%2FMetaWear-SDK-Cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbientlab","download_url":"https://codeload.github.com/mbientlab/MetaWear-SDK-Cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbientlab%2FMetaWear-SDK-Cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002623,"owners_count":26083425,"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-10-10T02:00:06.843Z","response_time":62,"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":["bluetooth-le","cpp14","ios","linux","metamotion","metawear","metawear-sdk","msbuild","osx","sensors","windows"],"created_at":"2024-11-05T19:22:05.299Z","updated_at":"2025-10-10T03:32:10.499Z","avatar_url":"https://github.com/mbientlab.png","language":"C++","readme":"# MetaWear SDK for C++ by MBIENTLAB\n\n[![Platforms](https://img.shields.io/badge/platform-linux%20%7C%20windows%20%7C%20ios%20%7C%20osx-lightgrey)](https://github.com/mbientlab/MetaWear-SDK-Cpp)\n[![License](https://img.shields.io/cocoapods/l/MetaWear.svg?style=flat)](https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/master/LICENSE.md)\n\n![alt tag](https://raw.githubusercontent.com/mbientlab/MetaWear-SDK-iOS-macOS-tvOS/master/Images/Metawear.png)\n\nThis project is a C++ implementation of the MetaWear protocol.  If compiled as a shared library, it can be used with any language that supports calling C functions from a shared library, such as Node and Python.  \n\nThe library only constructs the bytes for communicating with the MetaWear platform, it **does not** contain any Bluetooth LE code.  Users will need to fill in the appropriate Bluetooth LE functions for their target platform.\n\n\u003e This library is platform agnostic and does not contain any Bluetooth code. You are responsible for adding in this functionality.\n\nVersion 0.30.0 supports the following boards:\n- [x] MMS\n- [x] MMC\n- [x] MMR + MMRL\n- [ ] MetaTracker\n- [ ] MetaWear HR / PPG\n- [ ] MMM (mini)\n- [ ] MWR, MWRG, MWRGPro\n- [ ] MWC, MWCPro, MWCenv, MWCDetect \n- [ ] Custom boards\n\n### Overview\n[MetaWear](https://mbientlab.com) is a complete development and production platform for wearable and connected device applications.\n\nMetaWear features a number of sensors and peripherals (button, acceleromter, LED, gyroscope, magnetometer, ambient light, IOs...) all easily controllable over Bluetooth 4.0/5.0 Low Energy using this SDK.\n\n### Requirements\n- [MetaWear board](https://mbientlab.com/store/)\n- A linux/mac/windows machine with Bluetooth 4.0 or Bluetooth 5.0\n\n### Notes\n- Our tutorials will mostly reflect usage on iOS and Linux (see our Swift, Python and Javascript SDKs)\n- Some Windows support is provided with Python.\n\n### License\nSee the [License](https://github.com/mbientlab/MetaWear-SDK-Cpp/blob/master/LICENSE.md).\n\n### Support\nReach out to the [community](https://mbientlab.com/community/) if you encounter any problems.\n\n## Getting Started\n\n### Installation\nBuilding the project has been tested on Linux Debian with Clang 15.  \n\n### Usage\n\n```sh\n\u003e clang++ --version\nclang version 15.0.6\nTarget: x86_64-unknown-linux-gnu\n```\n```bat\nC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\u003ecl.exe\nMicrosoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64\nCopyright (C) Microsoft Corporation.  All rights reserved.\n\nusage: cl [ option... ] filename... [ /link linkoption... ]\n```\n\n### GCC and Clang\nLinux users can build the project by invoking GNU make; the default action is to build the shared library for your current platform.  You can also change the C++ compiler by overriding the CXX make variable.\n\n```sh\n\u003e make\n\n# build using g++ as the compiler\n\u003e make CXX=g++\n```\n\nUpon a successful compile, the library will be placed in the newly created \"dist\" directory.\n\n```sh\n\u003e tree dist\ndist/\n└── release\n    └── lib\n        └── x64\n            ├── libmetawear.so -\u003e libmetawear.so.0\n            ├── libmetawear.so.0 -\u003e libmetawear.so.0.30.0\n            └── libmetawear.so.0.30.0\n\n```\n\n## Testing\nUnit tests for the library are written in Python (min v3.4.1) and can be invoked by calling the test target.\n\n### GNU Make\n```sh\n\u003e make test\npython3 -m unittest discover -s test\n.................................................................................\n.................................................................................\n.................................................................................\n.................................................................................\n..............................s..................................................\n........................................................\n----------------------------------------------------------------------\nRan 461 tests in 33.249s\n\nOK (skipped=1)\n```\n\n### Tutorials\nTutorials can be found [here](https://mbientlab.com/tutorials/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbientlab%2Fmetawear-sdk-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbientlab%2Fmetawear-sdk-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbientlab%2Fmetawear-sdk-cpp/lists"}