Skip to content

Commit d9e11ee

Browse files
committed
Release 1.0.2
1 parent 91b5916 commit d9e11ee

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.0.2] - 2020-09-13
6+
7+
### Changed
8+
9+
- `NimBLEAdvertising::start` Now takes 2 optional parameters, the first is the duration to advertise for (in seconds), the second is a
10+
callback that is invoked when advertsing ends and takes a pointer to a `NimBLEAdvertising` object (similar to the `NimBLEScan::start` API).
11+
12+
- (Arduino) Maximum BLE connections can now be altered by only changing the value of `CONFIG_BT_NIMBLE_MAX_CONNECTIONS` in `nimconfig.h`.
13+
Any changes to the controller max connection settings in `sdkconfig.h` will now have no effect when using this library.
14+
15+
- (Arduino) Revert the previous change to fix the advertising start delay. Instead a replacement fix that routes all BLE controller commands from
16+
a task running on core 0 (same as the controller) has been implemented. This improves response times and reliability for all BLE functions.
17+
518
## [1.0.1] - 2020-09-02
619

720
### Added

docs/Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "esp-nimble-cpp / NimBLE-Arduino"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 1.0.0
41+
PROJECT_NUMBER = 1.0.2
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

docs/Improvements_and_updates.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Many improvements have been made to this library vs the original, this is a brie
44
Refer to the [class documentation](https://h2zero.github.io/esp-nimble-cpp/annotated.html) for futher information on class specifics.
55

66
* [Server](#server)
7+
* [Advertising](#advertising)
78
* [Client](#client)
89
* [General](#general)
910
<br/>
@@ -60,6 +61,16 @@ it's characteristics / descriptors will remain valid and the service can be re-a
6061
using `NimBLEServer::addService`.
6162
<br/>
6263

64+
<a name="advertising"></a>
65+
# Advertising
66+
`NimBLEAdvertising::start`
67+
68+
Now takes 2 optional parameters, the first is the duration to advertise for (in seconds), the second is a callback
69+
that is invoked when advertsing ends and takes a pointer to a `NimBLEAdvertising` object (similar to the `NimBLEScan::start` API).
70+
71+
This provides an opportunity to update the advertisment data if desired.
72+
<br/>
73+
6374
<a name="client"></a>
6475
# Client
6576

docs/Migration_guide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ Calling `NimBLEAdvertising::setScanResponseData` without also calling `NimBLEAdv
224224
When using custom scan response data you must also use custom advertisement data.
225225
<br/>
226226

227+
> BLEAdvertising::start (NimBLEAdvertising::start)
228+
229+
Now takes 2 optional parameters, the first is the duration to advertise for (in seconds), the second is a callback
230+
that is invoked when advertsing ends and takes a pointer to a `NimBLEAdvertising` object (similar to the `NimBLEScan::start` API).
231+
232+
This provides an opportunity to update the advertisment data if desired.
233+
<br/>
234+
227235
<a name="client-api"></a>
228236
## Client API
229237

0 commit comments

Comments
 (0)