gattlib/gattlib-py
Olivier Martin 3c9b0eaa1c Introduce 'GATTLIB_ERROR_TIMEOUT' error 2024-02-12 00:13:07 +01:00
..
examples gattlib-py/examples/ble_scan: Fix example 2024-02-12 00:11:45 +01:00
gattlib Introduce 'GATTLIB_ERROR_TIMEOUT' error 2024-02-12 00:13:07 +01:00
README.md gattlib-py: Document how to develop 'gattlib-py' 2024-02-12 00:11:45 +01:00
TODO.md Initial Python support 2019-07-07 22:17:49 +02:00
setup.py Clarify and update license 2021-09-01 00:04:00 +02:00

README.md

gattlib-py is a wrapper for gattlib library.

Development

  1. Set PYTHONPATH: export PYTHONPATH=$PWD/gattlib-py:$PYTHONPATH

  2. Build native library

mkdir -p build && cd build
cmake ..
make
  1. Set export LD_LIBRARY_PATH=$PWD/dbus for Python module to find native library.