forked from h2zero/esp-nimble-cpp
Increase timeout paramter in server example.
This commit is contained in:
1 parent
1a0b7a8e31
commit
2759b1b69d
1 file changed
+1
-1
@@ -26,7 +26,7 @@ class ServerCallbacks : public NimBLEServerCallbacks {
|
|||||||
* Latency: number of intervals allowed to skip.
|
* Latency: number of intervals allowed to skip.
|
||||||
* Timeout: 10 millisecond increments.
|
* 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 {
|
void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason) override {
|
||||||
|
|||||||
Reference in new issue
Block a user