524 B
524 B
Blootstrap
Class representing the bluetooth interface
blootstrap.on(eventName, callback)
Blootstrap.on() - Binds functions to events that are triggered by BLE messages
Kind: instance method of Blootstrap
Param | Type | Description |
---|---|---|
eventName | string |
Name of the event to to bind |
callback | function |
Invoked when the event is triggered |