/sensortag-gettingstarted

A code examples for getting started with SensorTag by Texas Instruments

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

MySensorTag

Examples using Node.js library node-sensortag for TI SensorTag.

Some of the examples are based on Bluetooth LE examples for sensorTag by Tom Igoe.

Installation

Getting Started

Sensortag library functions are asynchronous. There is a sequence you need to follow in order to successfully read data from a tag:

  1. Discover the tag
  2. Connect to and set up the tag
  3. Turn on the sensor you want to use
  4. Turn on notifications for the sensor
  5. Listen for changes from the sensortag

Documentation

Full package documentation can be found on node-sensortag homepage.