Initial commit

This commit is contained in:
2018-04-21 22:33:02 +02:00
commit a3d8303cdb
168 changed files with 9451 additions and 0 deletions

24
configuration.h Normal file
View File

@ -0,0 +1,24 @@
typedef struct {
uint32_t magic;
char confUser[16];
char confPasswd[16];
char wifiSsid[32];
char wifiKey[64];
char mqttBroker[32];
char mqttUser[32];
char mqttPass[32];
char mqttClientId[32];
uint32_t mqttPort;
char mqttTopicLed1[64];
char mqttTopicLed2[64];
char mqttDebugTopic[64];
uint32_t debugMode;
} tConfigBlock;
extern const uint32_t MAGIC;
extern tConfigBlock configBlock;
extern const char* CONFIG_SSID;
void configServeIndex();
void configServeGetConfiguration();
void showConfiguration();