diff options
author | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:42:15 +1300 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:42:15 +1300 |
commit | 788c16c4cc774658033fdfd60e8a2c289a22983f (patch) | |
tree | c20ae805843bb4d25b9aca85afa6f957a1039fc1 | |
parent | ed6aa99d128bf1ea1c5b966b668e1ccc24d71c92 (diff) |
Begin adding #defines for strings
Signed-off-by: Mike Beattie <mike@ethernal.org>
-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 */ /* |