Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 242ee17

Browse files
committed
perf: modify wifi connection times to min 3 and max 30 seconds
1 parent 540e26c commit 242ee17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main/HomeKitLock.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ void HomeKitLock::begin() {
252252

253253
homeSpan.setControllerCallback(staticControllerCallback);
254254
homeSpan.setConnectionCallback(connectionEstablished);
255-
homeSpan.setConnectionTimes(1, 15, 3);
255+
homeSpan.setConnectionTimes(3, 30, 3);
256256
homeSpan.setApFunction(apStarted);
257257
ESP_LOGI(TAG, "HomeSpan setup complete.");
258258
}

0 commit comments

Comments
 (0)