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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file greenponik-ble-0.0.3.tar.gz.

File metadata

  • Download URL: greenponik-ble-0.0.3.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for greenponik-ble-0.0.3.tar.gz
Algorithm Hash digest
SHA256 23c7b6ece05d05f17c6b00793550f0f65eeb97dd566088f52accc3a666bfa45c
MD5 60683dc9f6bba89f4f55ca8d8b23f0a8
BLAKE2b-256 530c33c280a2f43a188dadc5ec707d6c6f77a2b59a5ab293f8515decd18c061a

See more details on using hashes here.

File details

Details for the file greenponik_ble-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for greenponik_ble-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e9e0179c3bc396c6610795430d90b9c55aecc65033375421b42a4c8e12c9fbe
MD5 7bb1e9baf27be0daf8036f706221381e
BLAKE2b-256 2a41330472a232b3c7a88b9df288d38cc4cd93d31d9621bf07b053bcb3da5383

See more details on using hashes here.

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