module documentation
BLE Pair - Scan, connect, and pair with BLE devices
| Function | bluetooth |
Handle Bluetooth scan and connection events. |
| Function | run |
Run the pairing app and handle input. |
| Function | start |
Start the pairing app and begin scanning for devices. |
| Function | stop |
Stop the pairing app and clean up. |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Constant | STATE |
Undocumented |
| Function | __addr |
Convert address bytes to a colon-separated string. |
| Variable | _addresses |
Undocumented |
| Variable | _bluetooth |
Undocumented |
| Variable | _loading |
Undocumented |
| Variable | _menu |
Undocumented |
| Variable | _scanned |
Undocumented |
| Variable | _selected |
Undocumented |
Handle Bluetooth scan and connection events.
| Parameters | |
event:int | Bluetooth event code. |
data:tuple | Event payload. |
Run the pairing app and handle input.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
Start the pairing app and begin scanning for devices.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |
| Returns | |
bool | True if the app started, False on failure. |
Stop the pairing app and clean up.
| Parameters | |
viewViewManager | The view manager instance for display and storage access. |