Add signal strength in config report

useful when debugging  without web UI
This commit is contained in:
luc lebosse 2016-06-15 19:29:04 +02:00
parent b4b936ce11
commit d7b1e486e2

View File

@ -243,6 +243,9 @@ void CONFIG::print_config()
Serial.print(F("Mode: "));
if (byte(bbuf) == CLIENT_MODE) {
Serial.println(F("Station"));
Serial.print(F("Signal: "));
Serial.print(100+WiFi.RSSI());
Serial.println(F("%"));
} else if (byte(bbuf)==AP_MODE) {
Serial.println(F("Access Point"));
} else {