From 9efef936f83e7a0f30e95cbc95d4a5a165d9c32e Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Sun, 8 Oct 2023 00:14:57 -0700 Subject: [PATCH] =?utf8?q?client:=20Initial=20wifi=20connection=20time:=20?= =?utf8?q?10s=20=E2=86=92=2090s?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit No reason to give up so aggressively. Be robust against the AP restarting, which takes ~1 minute. --- client/tattlekey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tattlekey.c b/client/tattlekey.c index 05488ea..45059f6 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -25,7 +25,7 @@ int main() { cyw43_arch_enable_sta_mode(); signal(2, 200); if (cyw43_arch_wifi_connect_timeout_ms(wifi_ssid, wifi_pass, - CYW43_AUTH_WPA2_AES_PSK, 10000)) + CYW43_AUTH_WPA2_AES_PSK, 90000)) signal_error_by_blinking(); signal(3, 200); -- 2.44.1