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.2.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.2-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bluetooth_mesh_messages-1.0.2.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.3 Linux/6.17.0-1028-oem

File hashes

Hashes for bluetooth_mesh_messages-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c3f2dedddb10d0292bbaf2e0c90ad3a724f9376ef854a801f8f4b58cde34ff43
MD5 6661dca63da925dba18bc1613eed84be
BLAKE2b-256 ddbfe58abf285deac03bdac038cf8e180d49e2ebb75ae5e19b976488cd862f96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bluetooth_mesh_messages-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 293088c22dac953b1beb1eab2e06a1025b6e3efe6e73c9325eff15fe3fc9e41f
MD5 fe1bedcc1a51187e02a78ada7644f922
BLAKE2b-256 9f3d0236917f8d833297d2a00e057cb48f6245f042b98342e83ad5976744a2bc

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