All Projects → mbientlab → MetaWear-SDK-Cpp

mbientlab / MetaWear-SDK-Cpp

Licence: other
MetaWear C++ SDK - Platform Agnostic - Main lib - No Bluetooth

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects
swift
15916 projects

Projects that are alternatives of or similar to MetaWear-SDK-Cpp

MetaWear-SDK-JavaScript
MetaWear JavaScript SDK - Linux - Node.JS
Stars: ✭ 28 (-33.33%)
Mutual labels:  bluetooth-le, metawear, metamotion, metawear-sdk
MetaWear-SDK-Python
MetaWear Python SDK - Linux / Windows - Python3
Stars: ✭ 43 (+2.38%)
Mutual labels:  bluetooth-le, metawear, metamotion
MetaWear-SDK-Android
MetaWear Java SDK - Android - Google - Android Studio
Stars: ✭ 64 (+52.38%)
Mutual labels:  bluetooth-le, metawear, metamotion
Osx Cpu Temp
Outputs current CPU temperature for OSX
Stars: ✭ 802 (+1809.52%)
Mutual labels:  osx, sensors
Metawear Sampleapp Android
Sample Android app showcasing the sensors available on the MetaMotion / MetaWear boards
Stars: ✭ 42 (+0%)
Mutual labels:  sensors, bluetooth-le
Extendable
Blocks Based Bluetooth LE Connectivity framework for iOS/watchOS/tvOS/OSX. Quickly configure centrals & peripherals, perform read/write operations, and respond characteristic updates.
Stars: ✭ 88 (+109.52%)
Mutual labels:  osx, bluetooth-le
psutil
Cross-platform lib for process and system monitoring in Python
Stars: ✭ 8,488 (+20109.52%)
Mutual labels:  osx, sensors
mmap-io
Clean straight forward mmap-bindings for node.js
Stars: ✭ 62 (+47.62%)
Mutual labels:  osx
ESPHome-Air-Quality-Monitor
ESPHome configuration for a DIY indoor air quality monitor for CO₂ concentration, PM2.5 and PM10 concentrations, and temperature, humidity and pressure
Stars: ✭ 42 (+0%)
Mutual labels:  sensors
MacOS-Developers-Excuses
A macOS screen saver that shows a random developer excuse over a beautiful photo background. Made with ❤
Stars: ✭ 53 (+26.19%)
Mutual labels:  osx
ULogViewer
Cross-Platform Universal Log Viewer.
Stars: ✭ 64 (+52.38%)
Mutual labels:  osx
lldbg
A lightweight native GUI for LLDB.
Stars: ✭ 83 (+97.62%)
Mutual labels:  osx
osxapp vers
Get product name, exact product version and build version from an Apple Install [Mac OS X|OS X|macOS]*.app or from a mounted Mac OS X Install CD/DVD image
Stars: ✭ 12 (-71.43%)
Mutual labels:  osx
Dropbox-Paper-Desktop
Unofficial Dropbox Paper app for OS X
Stars: ✭ 22 (-47.62%)
Mutual labels:  osx
Uno.CodeGen
A set of source generators for equality, immutability, ...
Stars: ✭ 85 (+102.38%)
Mutual labels:  msbuild
gradle-msbuild-plugin
Gradle plugin for msbuild execution, supports C# project files for now
Stars: ✭ 101 (+140.48%)
Mutual labels:  msbuild
mbapipy
MercedesME platform as a Custom Component for Home Assistant.
Stars: ✭ 25 (-40.48%)
Mutual labels:  sensors
ManDrake
Native Mac man page editor with syntax coloring, mandoc syntax checking & live preview.
Stars: ✭ 130 (+209.52%)
Mutual labels:  osx
janitor
Availability monitoring and alerting for IOT devices
Stars: ✭ 55 (+30.95%)
Mutual labels:  sensors
IOsonata
IOsonata multi-platform multi-architecture power & performance optimized software library for fast and easy IoT MCU firmware development. Object Oriented design, no board package to define, just pure plug & play any boards
Stars: ✭ 40 (-4.76%)
Mutual labels:  sensors

MetaWear SDK for C++ by MBIENTLAB

Platforms License

alt tag

This 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.

The 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.

ADDITIONAL NOTES
This library is platform agnostic and does not contain any Bluetooth code. You are responsible for adding in this functionality.

Overview

MetaWear is a complete development and production platform for wearable and connected device applications.

MetaWear features a number of sensors and peripherals all easily controllable over Bluetooth 4.0/5.0 Low Energy using this SDK, no firmware or hardware experience needed!

The MetaWear hardware comes pre-loaded with a wirelessly upgradeable firmware, so it keeps getting more powerful over time.

Requirements

  • MetaWear board
  • A linux/mac/windows machine with Bluetooth 4.0 or Bluetooth 5.0

Notes

  • Our tutorials will mostly reflect usage on ios and linux (see our SDKs)
  • Can work on macOS/iOS/OSX/tvOS (you may need to do some additional dev yourself - not documented/supported by Mbient)
  • Can work on Windows (you will need to do some additional dev yourself - not documented/supported by Mbient)

License

See the License.

Support

Reach out to the community if you encounter any problems, or just want to chat :)

Getting Started

Installation

Building the project has been tested on Unix systems with Clang 4.

Usage

> clang++ --version
clang version 4.0.1 (tags/RELEASE_401/final 305264)
Target: x86_64-unknown-linux-gnu
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>cl.exe
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

GCC and Clang

Linux 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.

> make

# build using g++ as the compiler
> make CXX=g++

Upon a successful compile, the library will be placed in the newly created "dist" directory.

> tree dist
dist/
└── release
    └── lib
        └── x64
            ├── libmetawear.so -> libmetawear.so.0
            ├── libmetawear.so.0 -> libmetawear.so.0.20.9
            └── libmetawear.so.0.20.9

Testing

Unit tests for the library are written in Python (min v3.4.1) and can be invoked by calling the test target.

GNU Make

> make test
python3 -m unittest discover -s test
.................................................................................
.................................................................................
.................................................................................
.................................................................................
..............................s..................................................
........................................................
----------------------------------------------------------------------
Ran 461 tests in 33.249s

OK (skipped=1)

Tutorials

Tutorials can be found here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].