Skip to main content

Bluetooth BLE python server

Project description

Quality Gate Status Maintainability Rating

Lines of Code Duplicated Lines (%)

Reliability Rating Security Rating Vulnerabilities

Upload Python Package

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

greenponik-ble-0.0.3.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

greenponik_ble-0.0.3-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page