diff --git a/firmware_v5/telelogger/dashboard/dashboard.js b/firmware_v5/telelogger/dashboard/dashboard.js old mode 100644 new mode 100755 index c1660bcd..6a1c360b --- a/firmware_v5/telelogger/dashboard/dashboard.js +++ b/firmware_v5/telelogger/dashboard/dashboard.js @@ -79,8 +79,14 @@ function processInput(data) if (ret = checkData(con, "HTTPD:")) { document.getElementById("wifi").innerHTML = ret.indexOf("NO") >= 0 ? imgCross : imgTick; } + if (ret = checkData(con, "Joining")) { + document.getElementById("wifi").innerText = ret; + } if (ret = checkData(con, "WiFi IP:")) { - document.getElementById("wifi").innerHTML = imgTick + " IP:" + ret; + document.getElementById("wifi").innerHTML += " " + imgTick + " IP:" + ret; + } + if (ret = checkData(con, "No WiFi")) { + document.getElementById("wifi").innerHTML = imgCross; } if (ret = checkData(con, "IMEI:")) { document.getElementById("sim_card").innerHTML = imgTick; diff --git a/firmware_v5/telelogger/telelogger.ino b/firmware_v5/telelogger/telelogger.ino index f88b0fad..06e0d74b 100644 --- a/firmware_v5/telelogger/telelogger.ino +++ b/firmware_v5/telelogger/telelogger.ino @@ -878,7 +878,7 @@ bool initNetwork() String ip = teleClient.net.getIP(); if (ip.length()) { state.set(STATE_NET_CONNECTED); - Serial.print("IP:"); + Serial.print("WiFi IP:"); Serial.println(ip); #if ENABLE_OLED oled.println(ip);