- class src.device-manager.python.WeaveBleBase.WeaveBleBase
Called by Weave to close the BLE connection.
Called by WeaveDeviceMgr.py on behalf of Weave to retrieve a queued message.
- ParseInputLine(line, cmd=None)
- SubscribeBleCharacteristic(connObj, svcId, charId, subscribe)
Called by Weave to (un-)subscribe to a characteristic of a service.
- WriteBleCharacteristic(connObj, svcId, charId, buffer, length)
Called by WeaveDeviceMgr.py to satisfy a request by Weave to transmit a packet over BLE.
API to initiate BLE connection to peripheral device whose identifier == identifier.
A callback used by WeaveDeviceMgr.py to drive the runloop while the main thread waits for the Weave thread to complete its operation.
API to initiate BLE disconnect procedure.
A callback used by readline to drive the runloop while the main thread waits for commandline input from the user.
helper function to drive runloop until an expected event is received or the timeout expires.
API to initiatae BLE scanning for -t user_timeout seconds.
API to perform both scan and connect operations in one call.
Set the PyOS_InputHook to call the specific function.