diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 654c7d1..8789cfb 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,46 @@ Changelog ========= +v0.3.1 +------ + +v0.3.1 provides a few enhancements and features from the previous release. + +**Highlights** + +- Adds the ability to discover, read, and write a connected central device's GATT database as a peripheral. + + - Example usage has been added to the peripheral example where it will discover the connected device's database after pairing completes + + - **NOTE:** The inverse of this should be considered experimental (i.e. acting as a central and having a peripheral read/write the local database). + +- Adds the ability to perform writes without responses, both as a client and as a peripheral + + - New APIs have been added to the :class:`~blatann.gatt.gattc.GattcCharacteristic` class: + :meth:`~blatann.gatt.gattc.GattcCharacteristic.write_without_response` and + :attr:`~blatann.gatt.gattc.GattcCharacteristic.writable_without_response` + +- Adds API to trigger data length update procedures (with corresponding event) on + the :class:`~blatann.peer.Peer` class + + - The API does not allow the user to select a data length to use, + i.e. the optimal data length is chosen by the SoftDevice firmware + + +**Changes** + +- The connection event length has been updated to support the max-length DLE value (251bytes) at the shortest connection interval (7.5ms) + +- Updates to documentation and type hinting + +- Minor changes to logging, including removing spammy/duplicate logs when numerous characteristics exist in the GATT database + +**Fixes** + +- Fixes issue where iterating over the scan report in real-time was not returning the recently read packet + and instead was returning the combined packet for the device's address. This was causing duplicate packets to not be marked in the scanner example. + + v0.3.0 ------ diff --git a/docs/source/conf.py b/docs/source/conf.py index 86f5860..df3c96d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = u'v0.3.x' # The full version, including alpha/beta/rc tags -release = u'v0.3.0' +release = u'v0.3.1' # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index 4e645b0..e865792 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from os import path -VERSION = "v0.3.0" +VERSION = "v0.3.1" HERE = path.dirname(__file__) with open(path.join(HERE, "README.md"), "r", encoding="utf-8") as f: @@ -20,7 +20,7 @@ description="API for controlling nRF52 connectivity devices through pc-ble-driver-py", url="https://github.com/ThomasGerstenberg/blatann", author="Thomas Gerstenberg", - email="tgerst6@gmail.com", + author_email="tgerst6@gmail.com", keywords="ble bluetooth nrf52 nordic", packages=find_packages(exclude=["tests", "tests.*"]), install_requires=install_requires,