Bluetooth mesh messages library for Python provides parsing and building of Bluetooth Mesh access layer messages as defined in Bluetooth SIG specifications.
What is this thing?
This library implements message serialization and deserialization for Bluetooth Mesh protocol, supporting both standard SIG models and Silvair vendor-specific extensions.
https://www.bluetooth.com/specifications/mesh-specifications
Supported models include:
Generic models: OnOff, Level, Battery, Property
Lighting models: Lightness, CTL
Scene model
Sensor model
Time model
Health model
Config model
Silvair vendor models: Debug, Debug V2, Emergency Lighting, Emergency Lighting Test, Gateway Config, Light Extended Controller, Network Diagnostic, Network Diagnostic Setup Server, RRule Scheduler
Installation
This project requires Python 3.14.
You can install “bluetooth-mesh-messages” via pip from PyPI:
$ pip install bluetooth-mesh-messages
To install the optional Cap’n Proto support, use:
$ pip install "bluetooth-mesh-messages[capnp]"
You can also add it to a Poetry-managed project:
$ poetry add bluetooth-mesh-messages
To include the optional capnp extra with Poetry, use:
$ poetry add bluetooth-mesh-messages --extras capnp
If you want to work on this repository locally, install the project and development dependencies with Poetry:
$ poetry install
Contributing
Contributions are very welcome. Tests can be run with pytest, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the GPL-2.0 license, “bluetooth-mesh-messages” is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Metadata
Release files for bluetooth-mesh-messages 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bluetooth_mesh_messages-1.0.2.tar.gz | 46.8 kB | Without provenance | Details for bluetooth_mesh_messages-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bluetooth_mesh_messages-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for bluetooth_mesh_messages-1.0.2-py3-none-any.whl |
Total release size: 113.5 kB
Release files / bluetooth_mesh_messages-1.0.2.tar.gz
| Download URL | bluetooth_mesh_messages-1.0.2.tar.gz |
|---|---|
| Size | 46.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f2dedddb10d0292bbaf2e0c90ad3a724f9376ef854a801f8f4b58cde34ff43
|
|
BLAKE2b-256 checksum How to use checksums |
ddbfe58abf285deac03bdac038cf8e180d49e2ebb75ae5e19b976488cd862f96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.3 Linux/6.17.0-1028-oem
|
Release files / bluetooth_mesh_messages-1.0.2-py3-none-any.whl
| Download URL | bluetooth_mesh_messages-1.0.2-py3-none-any.whl |
|---|---|
| Size | 66.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
293088c22dac953b1beb1eab2e06a1025b6e3efe6e73c9325eff15fe3fc9e41f
|
|
BLAKE2b-256 checksum How to use checksums |
9f3d0236917f8d833297d2a00e057cb48f6245f042b98342e83ad5976744a2bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.12.3 Linux/6.17.0-1028-oem
|
Security for bluetooth-mesh-messages 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.