1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 22:43:07 +01:00

#37: include the client SSID in the status page

This commit is contained in:
andreas
2024-03-21 16:54:37 +01:00
parent bfc6af1f89
commit efd23b0e39
2 changed files with 3 additions and 2 deletions

View File

@@ -410,7 +410,7 @@ public:
protected:
virtual void processRequest()
{
GwJsonDocument status(300 +
GwJsonDocument status(305 +
countNMEA2KIn.getJsonSize()+
countNMEA2KOut.getJsonSize() +
channels.getJsonSize()+
@@ -418,6 +418,7 @@ protected:
);
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;