]> Devi Nivas Git - smartwatch.git/commitdiff
Increase Wi-Fi SSID/Password Limit
authorAdvaith Menon <noreply-git@bp4k.net>
Mon, 1 Dec 2025 04:27:48 +0000 (23:27 -0500)
committerAdvaith Menon <noreply-git@bp4k.net>
Mon, 1 Dec 2025 04:27:48 +0000 (23:27 -0500)
* Allow longer Wi-Fi names upto 32 chars and password to
  64 chars. This allows using names like:
    WhiteSky-UNCChapelHill
    _ATL-Free-Wifi-5G

main/task_wifi.c

index c40c657d6d029a5d876fc8d076c6ecbc1e4a844f..03ccad7ce3c084d8145c2c0fc853ca4865ddf5cd 100644 (file)
@@ -22,8 +22,8 @@
 
 #include "task_wifi.h"
 
-#define WIFI_SSID_SIZE 16
-#define WIFI_PASS_SIZE 32
+#define WIFI_SSID_SIZE 32
+#define WIFI_PASS_SIZE 64
 #define RTC_UPDATE_TIME 600