mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-01-07 18:14:34 +01:00
Increase timeout paramter in server example.
This commit is contained in:
parent
1a0b7a8e31
commit
2759b1b69d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class ServerCallbacks : public NimBLEServerCallbacks {
|
|||
* Latency: number of intervals allowed to skip.
|
||||
* Timeout: 10 millisecond increments.
|
||||
*/
|
||||
pServer->updateConnParams(connInfo.getConnHandle(), 24, 48, 0, 18);
|
||||
pServer->updateConnParams(connInfo.getConnHandle(), 24, 48, 0, 180);
|
||||
}
|
||||
|
||||
void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason) override {
|
||||
|
|
Loading…
Reference in a new issue