mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-01-07 18:14:34 +01:00
Add missing migration information to docs.
This commit is contained in:
parent
1d01af0f8c
commit
1a0b7a8e31
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ This returns a pointer to `const ble_addr_t` instead of a pointer to the address
|
|||
## Server
|
||||
- `NimBLEServer::disconnect` now returns `bool`, true = success, instead of `int` to be consistent with the rest of the library.
|
||||
- `NimBLEServerCallbacks::onMTUChanged` renamed to `NimBLEServerCallbacks::onMTUChange` to be consistent with the client callback.
|
||||
- `NimBLEServer::getPeerIDInfo` renamed to `NimBLEServer::getPeerInfoByHandle` to better describe it's use.
|
||||
- `NimBLEServer::getPeerIDInfo` renamed to `NimBLEServer::getPeerInfoByHandle` to better describe it's use.
|
||||
- Advertising is no longer automatically restarted when a peer disconnects, to re-enable this feature either call `NimBLEServer::advertiseOnDisconnect(true);` after creating the server or manually restart advertising in the `onDisconnect` callback.
|
||||
<br/>
|
||||
|
||||
### Services
|
||||
|
|
Loading…
Reference in a new issue