Skip to content

Commit 157bc00

Browse files
committed
Increase timeout parameter in server example.
1 parent aece1c1 commit 157bc00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/NimBLE_Server/NimBLE_Server.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ServerCallbacks : public NimBLEServerCallbacks {
2727
* Latency: number of intervals allowed to skip.
2828
* Timeout: 10 millisecond increments.
2929
*/
30-
pServer->updateConnParams(connInfo.getConnHandle(), 24, 48, 0, 18);
30+
pServer->updateConnParams(connInfo.getConnHandle(), 24, 48, 0, 180);
3131
}
3232

3333
void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason) override {

0 commit comments

Comments
 (0)