Bluetooth mesh network layer library for Python provides cryptographic operations, network PDU encoding/decoding and provisioning support as defined in Bluetooth SIG specifications.
This library implements the network layer of Bluetooth Mesh protocol, including security and provisioning mechanisms.
https://www.bluetooth.com/specifications/mesh-specifications
Supported features include:
- Cryptography: AES-CCM encryption/decryption, AES-CMAC, AES-ECB, key derivation functions (network key, application key, device key)
- Network layer: Network PDU encoding/decoding, beacon parsing (Unprovisioned Device, Secure Network, Private Mesh)
- Provisioning: Generic Provisioning PDU support
You can install "bluetooth-mesh-network" via pip from PyPI:
$ pip install bluetooth-mesh-network
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-network" is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.