Bluetooth mesh SDK for Python allows developing applications communicating with Bluetooth mesh network using BlueZ's bluetooth-meshd.
This library provides a high-level async API for interacting with BlueZ mesh stack via D-Bus interface.
https://www.bluetooth.com/specifications/mesh-specifications
https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/mesh-api.txt
Supported features include:
- Application framework: High-level API for creating mesh applications, elements, and models
- D-Bus integration: Async communication with bluetooth-meshd via dbus-next
- Model support: Config Client, and extensible model base classes
- Provisioning: Provisioner and Provision Agent interfaces
- CLI tool:
meshclicommand-line interface for mesh operations - Plugin system: Extensible architecture using pluggy hooks
You can install "bluetooth-mesh-bluez" via pip from PyPI:
$ pip install bluetooth-mesh-bluez
For CLI tool support:
$ pip install bluetooth-mesh-bluez[cli]
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-bluez" is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.