Skip to content

Commit 2759b1b

Browse files
committed
Increase timeout paramter in server example.
1 parent 1a0b7a8 commit 2759b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/NimBLE_Server/main/main.cpp

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

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

0 commit comments

Comments
 (0)