mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
Fix old sdk esp8266 error w softapssid
This commit is contained in:
@@ -2092,12 +2092,14 @@ String WiFiManager::getInfoData(String id){
|
||||
p.replace(FPSTR(T_1),WiFi.softAPgetHostname());
|
||||
}
|
||||
#endif
|
||||
#ifndef WM_NOSOFTAPSSID
|
||||
#ifdef ESP8266
|
||||
else if(id==F("apssid")){
|
||||
p = FPSTR(HTTP_INFO_apssid);
|
||||
p.replace(FPSTR(T_1),htmlEntities(WiFi.softAPSSID()));
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
else if(id==F("apbssid")){
|
||||
p = FPSTR(HTTP_INFO_apbssid);
|
||||
p.replace(FPSTR(T_1),(String)WiFi.BSSIDstr());
|
||||
|
||||
Reference in New Issue
Block a user