Ssid2 retain mod - last used SSID will be preserved /Beken Only/ (#1440)

* SSID2 add retain SSID on reboot using setLastSSIDChannel command in early.bat

* func name

* save repair

* Cmd StartupSSID

* save repair 2

* cmd text

* .

* .

* Cmd disable on platforms without SSID2
This commit is contained in:
XJ
2024-11-27 09:21:04 +01:00
committed by GitHub
parent e99ff0c151
commit 5201043ab8
4 changed files with 109 additions and 5 deletions

View File

@ -1316,6 +1316,7 @@ int http_fn_cfg_wifi(http_request_t* request) {
add_label_text_field(request, "SSID", "ssid", CFG_GetWiFiSSID(), "<form action=\"/cfg_wifi_set\">");
add_label_password_field(request, "", "pass", CFG_GetWiFiPass(), "<br>Password<span style=\"float:right;\"><input type=\"checkbox\" onclick=\"e=getElement('pass');if(this.checked){e.value='';e.type='text'}else e.type='password'\" > enable clear text password (clears existing)</span>");
poststr_h2(request, "Alternate WiFi (used when first one is not responding)");
poststr(request, "Note: It is possible to retain used SSID using command setStartupSSIDChannel in early.bat");
#ifndef PLATFORM_BEKEN
poststr_h2(request, "SSID2 only on Beken Platform (BK7231T, BK7231N)");
#endif