show wifi disconnect reason as text

This commit is contained in:
MichaelDvP
2022-10-31 11:02:43 +01:00
parent e45c31345e
commit 98495c8114
2 changed files with 67 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ class WebStatusService {
void webStatusService(AsyncWebServerRequest * request);
void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info);
void mDNS_start() const;
const char * disconnectReason(uint8_t code);
};
} // namespace emsesp