mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 11:25:56 +08:00
Sync with latest change for SSID type
SSID changed from char * to String so need to adjust new type
This commit is contained in:
parent
56ecb07519
commit
7ef83d1237
@ -777,8 +777,8 @@ void handle_web_interface_root()
|
||||
ValuesList.add(wifi_config.mac2str(WiFi.macAddress(mac)));
|
||||
//SSID used by STA
|
||||
KeysList.add(FPSTR(KEY_STA_SSID));
|
||||
if (strlen(WiFi.SSID())==0)ValuesList.add(FPSTR(VALUE_NOT_AVAILABLE));
|
||||
else ValuesList.add(WiFi.SSID());
|
||||
if (WiFi.SSID().length()==0)ValuesList.add(FPSTR(VALUE_NOT_AVAILABLE));
|
||||
else ValuesList.add(WiFi.SSID().c_str());
|
||||
//Channel
|
||||
KeysList.add(FPSTR(KEY_STA_CHANNEL));
|
||||
ValuesList.add(intTostr (wifi_get_channel()));
|
||||
@ -1758,7 +1758,7 @@ void handle_web_interface_configSTA()
|
||||
//SSID
|
||||
stmp = "$AP_SSID["+String(i)+"]$";
|
||||
KeysList.add(stmp);
|
||||
ValuesList.add(WiFi.SSID(i));
|
||||
ValuesList.add(WiFi.SSID(i).c_str());
|
||||
//signal strenght
|
||||
stmp = "$AP_SIGNAL["+String(i)+"]$";
|
||||
KeysList.add(stmp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user