Bluetooth BLE python server
Project description
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
Release history Release notifications | RSS feed
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.1.tar.gz
(8.8 kB
view details)
Built Distribution
File details
Details for the file greenponik-ble-0.0.1.tar.gz
.
File metadata
- Download URL: greenponik-ble-0.0.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2db0c9c295428fc7b9a4cee3511183d92dd9fb8429cd1c64b1dfbea68d96bb6e |
|
MD5 | acf8f8d0bc083a732562d743a4160475 |
|
BLAKE2b-256 | 851f0797108c79ae5f347514efe0cc4a9b42987f12342839180a16dd842c0a0f |
File details
Details for the file greenponik_ble-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: greenponik_ble-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3099e4e671ab70a2e47b4064f176341ee93f02a0b4b5e87a95b9e8c0d11407c |
|
MD5 | 7ef9b3f2da1a9f457ede5c83073cb1a3 |
|
BLAKE2b-256 | 0a711153de98fc0c2f53e1c5dbd89ed1a8c2bfe38a6fc511d8a121c429a89d85 |