diff options
author | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:40:14 +1300 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:40:14 +1300 |
commit | 3893e9629e5cf3b325ad336bbda26d168fe982ee (patch) | |
tree | 67832973951239c93e330162f1865a278105560f | |
parent | 4c8dc2417ec42c405f00fb1a1419f8b7cf1a01bb (diff) |
Config set POST handling stub.
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r-- | HouseControl.ino | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/HouseControl.ino b/HouseControl.ino index 95e3c0b..160eac0 100644 --- a/HouseControl.ino +++ b/HouseControl.ino @@ -429,6 +429,11 @@ void configGetHandler(WebServer &server, WebServer::ConnectionType type, char *u void configSetHandler(WebServer &server, WebServer::ConnectionType type, char *url_tail, bool tail_complete) { if (type == WebServer::POST) { + bool repeat; + do { + repeat = server.readPOSTparam((char*)buf2, BUF2_SIZE, (char*)buf1, BUF1_SIZE); + + } while (repeat); server.httpSuccess(); server.write("OK"); return; |