mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 04:15:54 +08:00
Add signal strength in config report
useful when debugging without web UI
This commit is contained in:
parent
b4b936ce11
commit
d7b1e486e2
@ -243,6 +243,9 @@ void CONFIG::print_config()
|
|||||||
Serial.print(F("Mode: "));
|
Serial.print(F("Mode: "));
|
||||||
if (byte(bbuf) == CLIENT_MODE) {
|
if (byte(bbuf) == CLIENT_MODE) {
|
||||||
Serial.println(F("Station"));
|
Serial.println(F("Station"));
|
||||||
|
Serial.print(F("Signal: "));
|
||||||
|
Serial.print(100+WiFi.RSSI());
|
||||||
|
Serial.println(F("%"));
|
||||||
} else if (byte(bbuf)==AP_MODE) {
|
} else if (byte(bbuf)==AP_MODE) {
|
||||||
Serial.println(F("Access Point"));
|
Serial.println(F("Access Point"));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user