How to use the able.android.jni.PythonBluetooth function in able

To help you get started, we’ve selected a few able examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github b3b / able / able / android / dispatcher.py View on Github external
def _set_ble_interface(self):
        self._events_interface = PythonBluetooth(self)
        self._ble = BLE(self._events_interface)
        activity.bind(on_activity_result=self.on_activity_result)
github b3b / able / able / android / jni.py View on Github external
def __init__(self, dispatcher):
        super(PythonBluetooth, self).__init__()
        self.dispatcher = dispatcher