Bluetooth Low Energy for Android
Project description
Python interface to Android Bluetooth Low Energy API.
- Code repository:
- Documentation:
- Changelog:
Quick start development environment
able is included in PythonHere app, together with the Jupyter Notebook it could be used as a development environment.
Usage example: https://herethere.me/pythonhere/examples/ble.html
Build
The following instructions are for building app with buildozer tool.
able_recipe recipe should be added to buildozer.spec requirements:
requirements = python3,kivy,android,able_recipe
Bluetooth permissions should be requested in buildozer.spec:
android.permissions = BLUETOOTH, BLUETOOTH_ADMIN, BLUETOOTH_SCAN, BLUETOOTH_CONNECT, BLUETOOTH_ADVERTISE, ACCESS_FINE_LOCATION
App configuration example: buildozer.spec
Build with a local version
To build app with a local (modified) version of able,
path to able recipes directory should be set in buildozer.spec:
p4a.local_recipes = /path/to/cloned/repo/recipes
Contributors
Thanks,