diff options
-rw-r--r-- | HouseControl.ino | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/HouseControl.ino b/HouseControl.ino index d76daf4..42eae68 100644 --- a/HouseControl.ino +++ b/HouseControl.ino @@ -122,6 +122,16 @@ time_t lastNTPtime = 0; WebServer httpServer("", 80); /*********************************************************************************/ +/* Globally used strings */ + +#define JSON_HEADER "{\"" +#define JSON_FOOTER "\"}" + +#define JSON_NAME_START "\", \"" +#define JSON_VALUE_START "\":\"" + + +/*********************************************************************************/ /* Utility functions */ /* |