2017-09-17 21:54:07 +00:00
|
|
|
<a name="Blootstrap"></a>
|
|
|
|
|
|
|
|
## Blootstrap
|
|
|
|
Class representing the bluetooth interface
|
|
|
|
|
|
|
|
**Kind**: global class
|
2017-09-17 23:51:33 +00:00
|
|
|
<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 |
|
|
|
|
|