mmcw-dev 980f1f56c5 | ||
---|---|---|
.. | ||
Readme.md | ||
index.js |
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