Skip to content

Releases: h2zero/esp-nimble-cpp

2.3.3

05 Sep 22:13
Compare
Choose a tag to compare

Fixed

  • NimBLEAdvertisedDevice::isConnectable returning incorrect result.
  • Extended advertisements not reporting full data.

Added

  • Support up to 1650 bytes of advertisement with extended advertising

2.3.2

02 Sep 20:57
Compare
Choose a tag to compare

Fixed

  • Build failures with esp-idf versions 4.x.
  • Workaround for upstream issue causing onConnectFail to not be called.
  • Build failures with idf v5.5+ and specific roles are not enabled.

Changed

  • Allow peripheral and central roles to be used without broadcaster/observer roles.
  • Where applicable, MYNEWT_VAL_ macros are used to control feature availability instead of CONFIG_

2.3.1

11 Jun 17:18
Compare
Choose a tag to compare

What's Changed

  • Allow esp_wifi_remote >= 0.5.3 by @johnboiles in #337
  • Fix builds when excluding roles by @h2zero in #339
  • Fix server client read/write not returning when encryption is used. by @h2zero in #342
  • [Bugfix] NimBLEScan delete. by @h2zero in #341

New Contributors

Full Changelog: 2.3.0...2.3.1

2.3.0

19 May 23:04
Compare
Choose a tag to compare

Fixed

  • Incorrect NimBLECharacteristic::onSubscribe value when indications are set.
  • NimBLECharacteristic::onRead callback not called in some cases.
  • Clear attribute value when zero length value is written.
  • Notify/Indicate incorrectly returning success with custom value.
  • Corrected NimBLEClient array initialization.
  • Prevent potential exception when scan is restarted.
  • Attribute getValue failing with some data types
  • Incorrectly passing a pointer to a function taking const reference.

Added

  • Support for esp32c5
  • L2CAP infrastructure.
  • Scan duplicate cache reset time.

Changed

  • Cleaned up examples.
  • Allow PHY updates without enabling extended advertising.

2.2.1

28 Feb 21:59
Compare
Choose a tag to compare

Fixed

  • Added back NimBLEClient::connect overload with NimBLEAdvertisedDevice parameter to resolve connection error due to NULL address.
  • Crash caused by returning invalid vector entry when retrieving remote descriptors.

2.2.0

25 Feb 00:55
Compare
Choose a tag to compare

Fixed

  • Crash when calling NimBLEClient::DiscoverAttributes.

Added

  • Conditional macros for logging.
  • NimBLEDeviceCallbacks class with a callback for handling bond storage.

2.1.1

27 Jan 01:32
Compare
Choose a tag to compare

Fixed

  • remote descriptor discovery error when no descriptors exist.
  • scan filter settings not enabled for esp32s3/c3.
  • remote descriptor discovery returning more than the desired descriptor.

2.1.0

13 Jan 02:19
Compare
Choose a tag to compare

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.

Added

  • 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.0.3

05 Jan 22:21
Compare
Choose a tag to compare

What's Changed

  • Add missing NimBLEUtils and NimBLEConnInfo includes to NimBLEDevice.h by @h2zero in #268
  • Fix crash that could occur when server receives reconnection from client by @finger563 in #271
  • NimBLELog allow custom log level colors. by @thekurtovic in #267
  • Fix compile error for advertiser only config. by @h2zero in #273
  • NimBLEScan increment m_callbackSent before callback. by @thekurtovic in #278
  • Fix build error when using platformio library by @h2zero in #276
  • Add checks in case NIMBLE_CPP_DEBUG_ASSERT is not defined. by @thekurtovic in #280

Full Changelog: 2.0.0...2.0.3

2.0.2

22 Dec 00:07
Compare
Choose a tag to compare

Fixed

  • Compile error when only advertising role is enabled.
  • Possible crash if bonded client reconnects.

Changed

  • NimBLEHIDDevice can now create more than one in/out/feature report map.