Skip to content

Releases: h2zero/NimBLE-Arduino

2.3.2

28 Jun 00:35
Compare
Choose a tag to compare

Fixed

  • Max connections not being applied correctly above 4.
  • Build errors with arduino cores using IDF v4.x
  • onConnect callback not being called when the status is BLE_ERR_UNSUPP_REM_FEATURE, workaround for upstream issue.

Changed

  • FreeRTOS port uses the old porting layer for all but the latest esp32 mcus.
  • By default BLE secure connections is disabled now to reduce issues when it's enabled but not used by the application.
  • BLE mesh files are now only compiled if mesh is enabled in the project configuration.

2.3.1

11 Jun 16:31
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @lazd made their first contribution in #971

Full Changelog: 2.3.0...2.3.1

2.3.0

20 May 13:40
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 esp32c2, esp32c5, esp32c6, esp32h2
  • L2CAP infrastructure.
  • Scan duplicate cache reset time.

Changed

  • Cleaned up examples.
  • Update nimble core to esp-nimble @70439dd.
  • Disable flow control for all targets except original esp32.
  • Allow PHY updates without enabling extended advertising.
  • Reduced iram usage

2.2.3

28 Feb 17:00
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.2

25 Feb 20:42
Compare
Choose a tag to compare

Fixed

  • Crash when calling NimBLEClient::DiscoverAttributes.

Added

  • NimBLEDeviceCallbacks class with a callback for handling bond storage.

2.2.1

27 Jan 01:46
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.2.0

13 Jan 01:08
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.
  • 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.

New Contributors

2.1.3

05 Jan 22:25
Compare
Choose a tag to compare

What's Changed

  • Fix compiling errors on nRF devices by @mr258876 in #801
  • Fix NimBLEHIDDevice output report returning incorrect characteristic. by @h2zero in #805
  • Add missing NimBLEUtils and NimBLEConnInfo includes to NimBLEDevice.h by @h2zero in #806
  • Fix getOutputReport, getInputReport and getFeatureReport: not being able to create more than one report + temporal coupling by @afpineda in #812
  • avoid unused-variable warning by @mazgch in #834
  • Fix advertising data not set if scan response enabled later. by @h2zero in #838
  • Fix characteristic value unable to be updated in callback by @h2zero in #840
  • NimBLEAdvertisementData emit error on failure, remove magic numbers. by @thekurtovic in #841

New Contributors

Full Changelog: 2.1.0...2.1.3

2.1.2

22 Dec 00:18
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.

2.1.1

17 Dec 02:07
Compare
Choose a tag to compare

Fixed

  • NimBLEHIDDevice::getOutputReport will now return the correct characteristic.
  • Compile error when central is disabled, class NimBLEServer has no member named m_pClient.
  • Compile error with nRF devices, unresolved symbol nimble_port_stop.

Changed

  • Added missing includes for NimBLEConnInfo and NimBLEUtils to NimBLEDevice.h.