Bluetooth mesh messages library for Python provides parsing and building of Bluetooth Mesh access layer messages as defined in Bluetooth SIG specifications.
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, Emergency Lighting, Gateway Config, Light Extended Controller, Network Diagnostic, RRule Scheduler
You can install "bluetooth-mesh-messages" via pip from PyPI:
$ pip install bluetooth-mesh-messages
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.
Distributed under the terms of the GPL-2.0 license, "bluetooth-mesh-messages" is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.