19 lines
506 B
Markdown
19 lines
506 B
Markdown
|
<a name="Blootstrap"></a>
|
||
|
|
||
|
## Blootstrap
|
||
|
Class representing the bluetooth interface
|
||
|
|
||
|
**Kind**: global class
|
||
|
<a name="Blootstrap+on"></a>
|
||
|
|
||
|
### blootstrap.on(eventName, callback)
|
||
|
Binds functions to events that are triggered by BLE messages
|
||
|
|
||
|
**Kind**: instance method of [<code>Blootstrap</code>](#Blootstrap)
|
||
|
|
||
|
| Param | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| eventName | <code>string</code> | Name of the event to to bind |
|
||
|
| callback | <code>function</code> | Invoked when the event is triggered |
|
||
|
|