diff --git a/lib/framework/NetworkSettingsService.h b/lib/framework/NetworkSettingsService.h index 219c7b8c0..dba52eb53 100644 --- a/lib/framework/NetworkSettingsService.h +++ b/lib/framework/NetworkSettingsService.h @@ -94,6 +94,10 @@ class NetworkSettingsService : public StatefulService { void begin(); void loop(); + uint16_t getWifiConnects() const { + return connectcount_; + } + private: HttpEndpoint _httpEndpoint; FSPersistence _fsPersistence;