diff --git a/src/main.cpp b/src/main.cpp index 672fc7da..599b3409 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -410,7 +410,7 @@ class StatusRequest : public GwRequestMessage protected: virtual void processRequest() { - GwJsonDocument status(300 + + GwJsonDocument status(305 + countNMEA2KIn.getJsonSize()+ countNMEA2KOut.getJsonSize() + channels.getJsonSize()+ @@ -418,6 +418,7 @@ class StatusRequest : public GwRequestMessage ); status["version"] = VERSION; status["wifiConnected"] = gwWifi.clientConnected(); + status["wifiSSID"] = config.getString(GwConfigDefinitions::wifiSSID); status["clientIP"] = WiFi.localIP().toString(); status["apIp"] = gwWifi.apIP(); size_t bsize=2*sizeof(unsigned long)+1; diff --git a/web/index.html b/web/index.html index 6d14fbed..e7d784d1 100644 --- a/web/index.html +++ b/web/index.html @@ -37,7 +37,7 @@

NMEA 2000 Gateway

wifi client connected - --- + --- [---]
wifi client IP