You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+79-46Lines changed: 79 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,39 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [Unreleased]
6
+
7
+
### Fixed
8
+
- Fixed missing data from long notification values.
9
+
10
+
### Changed
11
+
- Updated NimBLE core to use the v1.4.0 branch of esp-nimble
12
+
13
+
### Added
14
+
- Preliminary support for non-esp devices, NRF51 and NRF52 devices supported with [n-able arduino core](https://github.com/h2zero/n-able)
15
+
- Alias added for `NimBLEServerCallbacks::onMTUChange` to `onMtuChanged` in order to support porting code from original library.
16
+
-`NimBLEAttValue` Class added to reduce and control RAM footprint of characteristic/descriptor values and support conversions from Arduio Strings and many other data types.
17
+
- Bluetooth 5 extended advertising support for capable devices. CODED Phy, 2M Phy, extended advertising data, and multi-advertising are supported, periodic advertising will be implemented in the future.
18
+
19
+
## [1.3.8] - 2022-04-27
20
+
21
+
### Fixed
22
+
- Fix compile error with ESP32S3.
23
+
- Prevent a potential crash when retrieving characteristics from a service if the result was successful but no characteristics found.
24
+
25
+
### Changed
26
+
- Save resources when retrieving descriptors if the characteristic handle is the same as the end handle (no descriptors).
27
+
- Subscribing to characteristic notifications/indications will now always use write with response, as per BLE specifications.
28
+
-`NimBLEClient::discoverAttributes` now returns a bool value to indicate success/failure
29
+
30
+
## [1.3.7] - 2022-02-15
31
+
32
+
### Fixed
33
+
34
+
- Crash when retrieving an attribute that does not exist on the peer.
35
+
- Memory leak when deleting client instances.
36
+
- Compilation errors for esp32s3
37
+
5
38
## [1.3.6] - 2022-01-18
6
39
7
40
### Changed
@@ -97,7 +130,7 @@ All notable changes to this project will be documented in this file.
97
130
98
131
-`NimBLEService::getCharacteristicByHandle`: Get a pointer to the characteristic object with the specified handle.
99
132
100
-
-`NimBLEService::getCharacteristics`: Get the vector containing pointers to each characteristic associated with this service.
133
+
-`NimBLEService::getCharacteristics`: Get the vector containing pointers to each characteristic associated with this service.
101
134
Overloads to get a vector containing pointers to all the characteristics in a service with the UUID. (supports multiple same UUID's in a service)
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ If you are familiar with the original library, see: [The migration guide](docs/M
57
57
58
58
Also see [Improvements_and_updates](docs/Improvements_and_updates.md) for information about non-breaking changes.
59
59
60
-
[Full API documentation and class list can be found here.](https://h2zero.github.io/esp-nimble-cpp/)
60
+
[Full API documentation and class list can be found here.](https://h2zero.github.io/NimBLE-Arduino/)
61
61
62
62
For added performance and optimizations see [Usage tips](docs/Usage_tips.md).
63
63
@@ -72,9 +72,9 @@ such as increasing max connections, default is 3, absolute maximum connections i
72
72
<br/>
73
73
74
74
# Development Status
75
-
This Library is tracking the esp-nimble repo, nimble-1.3.0-idf master branch, currently [@5bb7b40.](https://github.com/espressif/esp-nimble)
75
+
This Library is tracking the esp-nimble repo, nimble-1.4.0-idf branch, currently [@3c2e1d4.](https://github.com/espressif/esp-nimble)
76
76
77
-
Also tracking the NimBLE related changes in ESP-IDF, master branch, currently [@639e7ad.](https://github.com/espressif/esp-idf/tree/master/components/bt/host/nimble)
77
+
Also tracking the NimBLE related changes in ESP-IDF, master branch, currently [@95db4bb.](https://github.com/espressif/esp-idf/tree/master/components/bt/host/nimble)
Extended advertising allows for much more capability and flexibility.
5
+
6
+
* Allows for 251 bytes of advertisement data and up to 1650 bytes when chained (configuration dependant) vs 31.
7
+
8
+
* New PHY's (physical layers) that allow for faster data rate (2M PHY) or long range/slower data rates (CODED PHY) as well as the original 1M PHY.
9
+
10
+
* New periodic advertising, allowing the scanning device to sync with the advertisements of a beacon. This allows for the scanning device to sleep or perform other tasks before the next expected advertisement is sent, preserving cpu cycles and power (To be implemented).
11
+
<br/>
12
+
13
+
## Enabling extended advertising
14
+
Extended advertising is supported when enabled with the config option `CONFIG_BT_NIMBLE_EXT_ADV` set to a value of 1. This is done in menuconfig under `Component config > Bluetooth > NimBLE options > Enable extended advertising`, or set in `nimconfig.h` for Arduino, or in `build_flags` in PlatformIO.
15
+
16
+
When enabled the following will occur:
17
+
*`NimBLEScan::start` method will scan on both the 1M PHY and the coded PHY standards automatically.
18
+
19
+
*`NimBLEClient::connect` will use the primary PHY the device is listening on, unless specified (see below).
20
+
21
+
*`NimBLEClient::setConnectPhy` becomes available to specify the PHY's to connect with (default is all).
22
+
23
+
*`NimBLEAdvertising` is no longer available for use and is replaced by `NimBLEExtAdvertising`. `NimBLEDevice::getAdvertising` will now return an instance of `NimBLEExtAdvertising`.
24
+
25
+
*`NimBLEAdvertisementData` is no longer available for use and is replaced by `NimBLEExtAdvertisement`. This new class is where everything about the advertisement is configured, including the advertisement intervals and advertisement ended callback.
0 commit comments