/able

Python for Android Bluetooth Low Energy package

Primary LanguagePythonMIT LicenseMIT

Android Bluetooth Low Energy

Latest version on PyPi

Python interface to Android Bluetooth Low Energy API.

Code repository:https://github.com/b3b/able
Documentation:https://herethere.me/able
Changelog:https://github.com/b3b/able/blob/master/CHANGELOG.rst

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,

andfmart
andreamerello
datmaniac95
dgatf
dwmoffatt
Enkumicahel
hailesir
HelaFaye
jacklinquan
juasiepo
MininDMhvh
PapoKarlo
RoberWare
Rowataro
robgar2001
sodef
sooko_io
woutersj