From: Scott Worley Date: Sun, 8 Oct 2023 07:14:57 +0000 (-0700) Subject: client: Initial wifi connection time: 10s → 90s X-Git-Tag: v0.1.0~57 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/9efef936f83e7a0f30e95cbc95d4a5a165d9c32e?ds=inline;hp=1427141a9ef3932472820452174859ab7539bcf0 client: Initial wifi connection time: 10s → 90s No reason to give up so aggressively. Be robust against the AP restarting, which takes ~1 minute. --- 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);