From 9c5865307a70a84e5bc3b6ba3e626ad95f77e019 Mon Sep 17 00:00:00 2001 From: Tayfun ULU Date: Sun, 1 Jan 2023 13:02:42 +0300 Subject: [PATCH] waiting time is increased because some modem need more time to connect. --- wifimgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifimgr.py b/wifimgr.py index 5f6a58b..2a36a08 100644 --- a/wifimgr.py +++ b/wifimgr.py @@ -86,7 +86,7 @@ def do_connect(ssid, password): return None print('Trying to connect to %s...' % ssid) wlan_sta.connect(ssid, password) - for retry in range(100): + for retry in range(200): connected = wlan_sta.isconnected() if connected: break