intval3/lib/ble/Readme.md

1.1 KiB

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