From 2759b1b69d91ff5ffbeb85a6b34864fa8402ecc4 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 5 Jan 2025 14:31:43 -0700 Subject: [PATCH] Increase timeout paramter in server example. --- examples/NimBLE_Server/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/NimBLE_Server/main/main.cpp b/examples/NimBLE_Server/main/main.cpp index 0f0df8a..7d7257d 100644 --- a/examples/NimBLE_Server/main/main.cpp +++ b/examples/NimBLE_Server/main/main.cpp @@ -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 {