A Bluetooth Low Energy Server supplement to Bleak
Project description
Bless
Bless is an acronym for Bluetooth Low Energy (BLE) Server Supplement.
Bless provides an OS-independent python package for creating a BLE Generic Attribute Profile (GATT) server to broadcast user-defined services and characteristics. This is particularly useful when prototyping and testing servers on different devices with the goal of ensuring that expected behavior matches across all systems.
Bless's code roughly follows a similar style to Bleak in order to ease development of client and server programs.
Installation
pip install bless
Features
Bless enables reading, writing, and notifying of BLE characteristic values. Developers can provide callback functions to manipulate data that is sent out for reading or delivered for writing prior to processing the underlying commands.
Examples
See example code for setting up a BLE server where read and write characteristic can be be probed by BLE clients (central devices)
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
Built Distribution
File details
Details for the file bless-0.2.6.tar.gz
.
File metadata
- Download URL: bless-0.2.6.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22baa2af3ec0abd90e21b803e09042003ebccb7fcffd2a9341f3652250aa153 |
|
MD5 | 29b9642d4929a0bb1e19a159a33bb1d2 |
|
BLAKE2b-256 | f22a7661d3f497be635109b2ac521e49f127e290aefbc6488384daa507e133d2 |
File details
Details for the file bless-0.2.6-py3-none-any.whl
.
File metadata
- Download URL: bless-0.2.6-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4b4ce8ee70a987886f22ca369e2093624aea315abe609bd01499f2d16056d1 |
|
MD5 | f13a4fd3d144d3b7f88d2bb29a116868 |
|
BLAKE2b-256 | acda69e33c374d19d4538afccd52eefc8a163486d438970acca40bd9c4794e49 |