Skip to main content

No project description provided

Project description

PyPI version Python versions

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bluetooth_mesh_messages-1.0.1.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bluetooth_mesh_messages-1.0.1-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

Details for the file bluetooth_mesh_messages-1.0.1.tar.gz.

File metadata

  • Download URL: bluetooth_mesh_messages-1.0.1.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-23-generic

File hashes

Hashes for bluetooth_mesh_messages-1.0.1.tar.gz
Algorithm Hash digest
SHA256 174f22b3e807f3d009d91c1fb9f7f6417565ad28eaa19bc26aada370406b52a9
MD5 e749ee27937844c4453cea21d8b02b68
BLAKE2b-256 e1ff3df441a411ece6056c73631a8847a39d7b408841aa348a91cc64c0c3b8fe

See more details on using hashes here.

File details

Details for the file bluetooth_mesh_messages-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bluetooth_mesh_messages-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c858d25d06437e34bea4640ae4b882c05e18c1c6a537c929ad1b80586cde85d8
MD5 8fcc37b8d7226bf99fbe97724bf64fe8
BLAKE2b-256 b24040bfd4eccbec11965d7d2717e0127279a7ad7bab8078fe4b34b7dbf331dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page