mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2026-04-17 15:08:44 +02:00
Bump version 3.0.0-dev
This commit is contained in:
41
CHANGELOG.md
41
CHANGELOG.md
@@ -1,6 +1,47 @@
|
||||
# Changelog
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
## [2.5.0] 2026-04-01
|
||||
|
||||
## Fixed
|
||||
- `NimBLEClient` connection state tracking.
|
||||
- Calling disconnect will no longer return false if the HCI response is "Unknown ID".
|
||||
- Remote descriptors not found when characteristic vector handles out of order.
|
||||
- `setValue` with char inputs now calculates the data length correctly.
|
||||
|
||||
## Added
|
||||
- `NimBLEServer::sendServiceChangedIndication` Sends the service changed indication to peers so they refresh their database.
|
||||
- `NimBLEScan` user configuarable scan response timer added to prevent unreported devices on long duration scans.
|
||||
- `NimBLEClient` Connection retry on connection establishment failure, retry count configurable by app, default 2.
|
||||
- ANCS Example
|
||||
- `l2Cap` Disconnect API
|
||||
|
||||
## [2.4.0] 2026-03-20
|
||||
|
||||
## Fixed
|
||||
- GATT attribute handles are now assigned from the registration callback so duplicate UUID attributes are identified correctly.
|
||||
- Dynamic service changes now properly remove characteristics/descriptors and reset the GATT database when advertising starts.
|
||||
- Missing notification/indication payload data when the value spans multiple mbufs, such as values larger than 255 bytes with small ACL buffers.
|
||||
- `NimBLEDevice::createServer` will longer crash when called before the stack is initialized.
|
||||
- Re-pairing after deleting all bonds now works by unpairing each stored bond instead of only deleting NVS data.
|
||||
- Whitelist bounds checks.
|
||||
- `NimBLEDevice::getBondedAddress` index bounds validation.
|
||||
- Compiler warnings when bonds are disabled.
|
||||
- kconfig warnings, redefined macros.
|
||||
|
||||
## Added
|
||||
- `NimBLEStream`, `NimBLEStreamClient`, and `NimBLEStreamServer` classes and examples.
|
||||
- `NimBLECppVersion.h` with compile-time version macros.
|
||||
- `NimBLEDevice::getVersion` runtime version string helper.
|
||||
- Matching passkey callbacks for both roles: `NimBLEServerCallbacks::onPassKeyEntry` and `NimBLEClientCallbacks::onPassKeyDisplay`.
|
||||
- Bond migration helpers to convert bond storage between v1 and current formats while preserving existing bonds.
|
||||
- `NimBLEUUID` constructor overload for `ble_uuid_t*`.
|
||||
- Optional `index` parameter for `NimBLECharacteristic::getDescriptorByUUID` to access multiple descriptors with the same UUID.
|
||||
- `NimBLEConnInfo::toString` method to get a string representation of the connection info.
|
||||
|
||||
## Changed
|
||||
- `NimBLEService::start` is deprecated; services are now added when the server starts.
|
||||
- `NimBLEHIDDevice::startServices()` is deprecated; services are now added when the server starts.
|
||||
## [2.3.4] 2025-12-27
|
||||
|
||||
## Fixed
|
||||
|
||||
@@ -48,7 +48,7 @@ PROJECT_NAME = esp-nimble-cpp
|
||||
# could be handy for archiving the generated documentation or if some version
|
||||
# control system is used.
|
||||
|
||||
PROJECT_NUMBER = 2.3.3
|
||||
PROJECT_NUMBER = 3.0.0-dev
|
||||
# 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.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
## IDF Component Manager Manifest File
|
||||
version: "2.3.4"
|
||||
version: "3.0.0-dev"
|
||||
license: "Apache-2.0"
|
||||
description: "C++ wrapper for the NimBLE BLE stack"
|
||||
url: "https://github.com/h2zero/esp-nimble-cpp"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "esp-nimble-cpp",
|
||||
"version": "2.3.4",
|
||||
"version": "3.0.3-dev",
|
||||
"description": "C++ wrapper for the NimBLE BLE stack",
|
||||
"keywords": [
|
||||
"BLE",
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
#define NIMBLE_CPP_VERSION_H_
|
||||
|
||||
/** @brief NimBLE-Arduino library major version number. */
|
||||
#define NIMBLE_CPP_VERSION_MAJOR 2
|
||||
#define NIMBLE_CPP_VERSION_MAJOR 3
|
||||
|
||||
/** @brief NimBLE-Arduino library minor version number. */
|
||||
#define NIMBLE_CPP_VERSION_MINOR 3
|
||||
#define NIMBLE_CPP_VERSION_MINOR 0
|
||||
|
||||
/** @brief NimBLE-Arduino library patch version number. */
|
||||
#define NIMBLE_CPP_VERSION_PATCH 9
|
||||
#define NIMBLE_CPP_VERSION_PATCH 0
|
||||
|
||||
/**
|
||||
* @brief Macro to create a version number for comparison.
|
||||
@@ -58,7 +58,7 @@
|
||||
* @details Include the leading '-' when defined, for example: "-beta.1"
|
||||
*/
|
||||
#ifndef NIMBLE_CPP_VERSION_PRERELEASE
|
||||
# define NIMBLE_CPP_VERSION_PRERELEASE ""
|
||||
# define NIMBLE_CPP_VERSION_PRERELEASE "-dev"
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user