github h2zero/NimBLE-Arduino 2.2.0

2 days ago

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

Don't miss a new NimBLE-Arduino release

NewReleases is sending notifications on new releases.