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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user