Skip to content

v0.2.1

Choose a tag to compare

@kgoke kgoke released this 24 Jun 19:10
· 11 commits to main since this release

PyBLEz Version 0.2.1

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.1:

pip install PyBLEz

Fixes

Logging:

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

Override WriteValue Method:

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