Skip to content

v0.2.0

Choose a tag to compare

@kgoke kgoke released this 20 Jun 18:47
· 24 commits to main since this release

PyBLEz Version 0.2.0

Overview

This is the initial release of PyBLEz, a Python library for creating BLE peripherals using BlueZ and D-Bus.

Features

BLE Peripheral Setup:

  • Easily create a BLE peripheral.
  • Power on the Bluetooth adapter and start advertising.
  • Service and Characteristic Management:

Define custom BLE services and characteristics.

  • Support for read and write operations on characteristics.

Example(s)

  • A simple example script (hello_example.py) demonstrating:
    • A read characteristic that returns "hello".
    • A write characteristic that prints received data to the console.

Installation

Install PyBLEz via pip v0.2.0:

pip install PyBLEz

Known Issues

Notification Support:

  • Currently, the library does not support notifications. This feature will be added in a future release.

Logging:

  • The logging mechanism may not work correctly in all scenarios. Improvements to logging will be made in subsequent updates.

Override WriteValue Method:

  • Overriding the WriteValue method is currently not working, see #5 for more details.