show pairing and mqtt status in configuration page

This commit is contained in:
technyon
2022-03-27 19:55:42 +02:00
parent 7694cdb2fb
commit 9279257ce9
7 changed files with 39 additions and 5 deletions

View File

@@ -2,6 +2,8 @@
#include <WiFiServer.h>
#include <Preferences.h>
#include "Nuki.h"
#include "Network.h"
enum class TokenType
{
@@ -15,7 +17,7 @@ enum class TokenType
class WebCfgServer
{
public:
WebCfgServer(Preferences* preferences);
WebCfgServer(Nuki* nuki, Network* network, Preferences* preferences);
~WebCfgServer() = default;
void initialize();
@@ -28,6 +30,8 @@ private:
TokenType getParameterType(char*& token);
WiFiServer _wifiServer;
Nuki* _nuki;
Network* _network;
Preferences* _preferences;
bool _enabled = true;