Releases: h2zero/NimBLE-Arduino
Releases · h2zero/NimBLE-Arduino
2.3.2
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 isBLE_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
What's Changed
- Add iBeacon example by @lazd in #971
- Fix builds when excluding roles by @h2zero in #964
- [Bugfix] NimBLEScan delete. by @h2zero in #976
- Fix build with esp32c2 by @h2zero in #974
- Fix server client read/write not returning when encryption is used. by @h2zero in #973
- Fix build with esp32c2 and upcoming arduino core version by @h2zero in #978
- Update docs by @h2zero in #979
New Contributors
Full Changelog: 2.3.0...2.3.1
2.3.0
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
2.2.2
2.2.1
2.2.0
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
andNimBLEDevice::getPower
now take an additional parameterNimBLETxPowerType
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
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
- @mr258876 made their first contribution in #801
- @mazgch made their first contribution in #834
- @thekurtovic made their first contribution in #841
Full Changelog: 2.1.0...2.1.3
2.1.2
2.1.1
Fixed
NimBLEHIDDevice::getOutputReport
will now return the correct characteristic.- Compile error when central is disabled, class
NimBLEServer
has no member namedm_pClient
. - Compile error with nRF devices, unresolved symbol
nimble_port_stop
.
Changed
- Added missing includes for
NimBLEConnInfo
andNimBLEUtils
toNimBLEDevice.h
.