diff --git a/README.md b/README.md index 5a6d127..74110ca 100644 --- a/README.md +++ b/README.md @@ -81,6 +81,10 @@ Full documentation is available on https://Hieromon.github.io/AutoConnect, some ## Change log +### [0.9.6] Sep. 27, 2018 +- Improvement of detecting RSSI of saved SSID. +- Fixed disconnection SoftAP completely at the first connection phase of the AutoConnect::begin. + ### [0.9.5] Aug. 27, 2018 - Supports the espressif arduino-esp32 core. - Fixed that crash may occur if the number of stored credentials in the EEPROM is smaller than the number of found WiFi networks. diff --git a/docs/changelog/index.html b/docs/changelog/index.html index 479de94..53faad8 100644 --- a/docs/changelog/index.html +++ b/docs/changelog/index.html @@ -101,7 +101,7 @@ - + Skip to content @@ -400,6 +400,13 @@
No saved credentials.
")); - if (ssidList.length() == 0) { - ssidList = String(PSTR("No saved credentials.
")); + for (uint8_t i = 0; i < creEntries; i++) { + credit.load(i, &entry); + AC_DBG("A credential #%d loaded\n", (int)i); + ssidList += String(F("(entry.ssid)) + String(F("\">")); + for (int8_t sc = 0; sc < wn; sc++) { + if (!memcmp(entry.bssid, WiFi.BSSID(sc), sizeof(station_config::bssid))) { + rssiSym = String(AutoConnect::_toWiFiQuality(WiFi.RSSI(sc))) + String(F("%")); + if (WiFi.encryptionType(sc) != ENC_TYPE_NONE) + rssiSym += String(F("")); + break; + } + } + ssidList += rssiSym + String(F("