Skip to content

Commit e7a2759

Browse files
authored
Allow STA SSID length of 32
Fixes: #3218
1 parent 2ee66b5 commit e7a2759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/WiFi/src/WiFiSTA.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ wl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_
121121
return WL_CONNECT_FAILED;
122122
}
123123

124-
if(!ssid || *ssid == 0x00 || strlen(ssid) > 31) {
124+
if(!ssid || *ssid == 0x00 || strlen(ssid) > 32) {
125125
log_e("SSID too long or missing!");
126126
return WL_CONNECT_FAILED;
127127
}

0 commit comments

Comments
 (0)