intval3/lib/ble
mmcwilliams 4aadc5a9df Use callback model for bluetooth write events. 2017-12-12 13:09:13 -05:00
..
Readme.md Add general purpose characteristic for intval3 2017-11-22 09:58:45 -05:00
index.js Use callback model for bluetooth write events. 2017-12-12 13:09:13 -05:00

Readme.md

ble

ble~BLE

Class representing the bluetooth interface

Kind: inner class of ble

new BLE()

Establishes Bluetooth Low Energy services, accessible to process through this class

blE.on(eventName, callback)

Binds functions to events that are triggered by BLE messages

Kind: instance method of BLE

Param Type Description
eventName string Name of the event to to bind
callback function Invoked when the event is triggered

ble~os

Bluetooth Low Energy module

Kind: inner constant of ble