From 7f15cf21bb0ee2c8d2f239606b8d884af3b614f0 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 12 Jan 2025 16:21:05 -0700 Subject: [PATCH] release 2.2.0 --- CHANGELOG.md | 18 ++++++++++++++++++ docs/Doxyfile | 2 +- library.properties | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd086f7d..bdb34ecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,24 @@ # Changelog All notable changes to this project will be documented in this file. +## [2.2.0] 2025-01-12 + +## Fixed +- Crash when retrieving descriptors if more than one exists. +- Incorrect TX power value being advertised. +- New user guide code for 2.x +- Potential race condition if `NimBLEScan::clearResults1 is called from multiple tasks. + +## Changed +- If privacy is not enabled identity keys will not be shared. +- `NimBLEDevice::setPower` and `NimBLEDevice::getPower` now take an additional parameter `NimBLETxPowerType` to set/get the power level for different operations. +- ESP32 devices now use esp_timer instead of freeRTOS timers for BLE operations by default. + +## Added +- Config option to use mbedtls instead of tinycrypt for crypto operations, this will save approximately 8k of flash if already using mbedtls for other applications (https, mqtts, etc..). +- Config option `CONFIG_NIMBLE_CPP_ADDR_FMT_EXCLUDE_DELIMITER`, if defined will remove the ":" delimiter from the BLE address string. +- Config option `CONFIG_NIMBLE_CPP_ADDR_FMT_UPPERCASE` if defined will make the BLE address strings uppercase. + ## [2.1.3] 2025-01-05 ## Fixed diff --git a/docs/Doxyfile b/docs/Doxyfile index 4062827b..cb0f615e 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -48,7 +48,7 @@ PROJECT_NAME = NimBLE-Arduino # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2.1.3 +PROJECT_NUMBER = 2.2.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a # quick idea about the purpose of the project. Keep the description short. diff --git a/library.properties b/library.properties index e5a647b5..2e4e701f 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=NimBLE-Arduino -version=2.1.3 +version=2.2.0 author=h2zero maintainer=Ryan Powell sentence=Bluetooth low energy (BLE) library for Arduino based on NimBLE.