GreenPonik_BLE
A python3 project to use Bluetooth BLE on raspberry pi
! Only tested on Raspberry Pi 3 A+
Table of Contents
Installation
Dependencies
sudo apt-get install dbus supervisor
Development / Tests needs
sudo apt-get update && sudo apt-get install -y \
python3-gi-cairo \
python3-dbus \
python3-gi \
python3-gi-cairo \
python-gobject \
libdbus-1-dev libdbus-glib-1-dev
python3 -m venv venv
on linux
source venv/bin/activate
or on windows
venv/Scripts/activate
on CI linux runner
pip3 install dbus-python pycairo PyGObject
pip install -r requirements.txt
Script to install
sudo bash setup_ble_server.sh
Example
here the example of how to implement the BLE server
Credits
Write by Pierre Antoine Grout, from GreenPonik, 2021
Inspired by https://github.com/Douglas6/cputemp thank you https://github.com/Douglas6