/BluetoothLE-Examples

BluetoothLE Examples of various platfoms

Primary LanguageJavaScript

BluetoothLE-Examples

This repository contains examples for Bluetooth LE in node.js, Arduino, and Apache cordova. These were written for classes at ITP by Tom Igoe, Maria Paula Saba, with contributions by Don Coleman, Sandeep Mistry and Shawn Van Every.

Software You'll Need

To run these examples, you'll need to node.js, Arduino 1.6.0 or later, and Cordova 4.0 or later. We've tested the Cordova examples on iOS and Android.

The node.js examples are all written using Sandeep Mistry's Bluetooth LE libraries for node.js, specifically noble, bleno, and various libraries he's made deriving from those. The cordova libraries are written using Don Coleman's BLE Central plugin for Cordova. The Arduino examples are mostly intended for use with Nordic NRF8001 and NRF51822 radios, using Sandeep's Arduino BLE Peripheral library. These examples were written using RedBear Labs' BLE Nano boards and RFDuino's boards. There are also some examples for Punchthrough's LightBlue Bean modules.

For Windows users, Don Coleman's done a nice video explaining how to set up Windows for Bluetooth LE and Node Development using noble.