Skip to content

A Example application showing basic usage of the Cordova plugin for the Mbientlab Metawear board.

Notifications You must be signed in to change notification settings

minleuk/metawear_cordova_example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Metawear Cordova Application

This is an example application to that guides you through the basic scaffolding of your application, connecting to your board and finally interacting with it's sensors. This example has only been tested on Android, depending on the state of the IOS implementation it may or may not run there.

Steps to Set up your environment:

  1. cordova plugin add https://github.com/polyglotprogramminginc/cordova-plugin-metawear
  2. cordova platform add android
  3. make sure your ANDROID_HOME is pointing to your android sdk.
  4. cordova run android

Current functions in the example:

  1. Scaffoling
  2. Connecting to your board
  3. Reading the RSSI value
  4. Start Accelerometer
  5. Stop Accelerometer
  6. Disconnect

About

A Example application showing basic usage of the Cordova plugin for the Mbientlab Metawear board.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 51.5%
  • CSS 31.9%
  • JavaScript 16.6%