mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-13 14:51:21 +10:00
remove empty ssid, no idea what these are
This commit is contained in:
+5
-1
@@ -1531,6 +1531,10 @@ String WiFiManager::WiFiManager::getScanItemOut(){
|
||||
|
||||
if (_minimumQuality == -1 || _minimumQuality < rssiperc) {
|
||||
String item = HTTP_ITEM_STR;
|
||||
if(WiFi.SSID(indices[i]) == ""){
|
||||
// Serial.println(WiFi.BSSIDstr(indices[i]));
|
||||
continue; // No idea why I am seeing these, lets just skip them for now
|
||||
}
|
||||
item.replace(FPSTR(T_v), htmlEntities(WiFi.SSID(indices[i]))); // ssid no encoding
|
||||
if(tok_e) item.replace(FPSTR(T_e), encryptionTypeStr(enc_type));
|
||||
if(tok_r) item.replace(FPSTR(T_r), (String)rssiperc); // rssi percentage 0-100
|
||||
@@ -1544,7 +1548,7 @@ String WiFiManager::WiFiManager::getScanItemOut(){
|
||||
}
|
||||
}
|
||||
#ifdef WM_DEBUG_LEVEL
|
||||
//DEBUG_WM(item);
|
||||
DEBUG_WM(DEBUG_DEV,item);
|
||||
#endif
|
||||
page += item;
|
||||
delay(0);
|
||||
|
||||
Reference in New Issue
Block a user