This set of sensor tutorials allows you to explore the Mynewt Sensor Framework features and learn how to develop sensor-enabled Mynewt applications.
The Mynewt Sensor framework supports:
The tutorials are:
Enabling an Off-Board Sensor in an Existing Application - This is an introductory tutorial that shows you to how to quickly bring up a sensor enabled application that retrieves data from a sensor device. We recommend that you work through this tutorial before trying one of the other tutorials.
Changing the Default Configuration for a Sensor - This tutorial shows you how to change the default configuration values for a sensor.
Developing an Application for an Onboard Sensor - This tutorial shows you how to develop a simple application for a device with an onboard sensor.
Enabling OIC Sensor Data Monitoring in an Existing Application - This tutorial shows you how to enable support for sensor data monitoring via OIC in an existing application.
We use the Mynewt Sensor Monitor
App on iOS or Android to retrieve and display sensor data from the Mynewt OS OIC sensor applications described in the OIC Sensor Data Monitoring tutorials. You can download the app from either the Apple Store or Google Play Store.
Note: At the time of writing this tutorial, the iOS app was still in the queue waiting to be placed in the App Store. You can build the iOS app from source as indicated below.
If you would like to contribute or modify the Mynewt Smart Device Controller App, see the Android Sensor source and iOS Sensor source on github.