forked from h2zero/esp-nimble-cpp
Increase timeout paramter in server example.
This commit is contained in:
@ -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