X10 Server - IOT device to leverage a collection of old X10 devices for home automation and lighting control.
Dependencies: IniManager mbed HTTPClient SWUpdate mbed-rtos Watchdog X10 SW_HTTPServer SW_String EthernetInterface TimeInterface SSDP
X10 Server
See the X10 Server Nodebook page
Diff: WebPages.cpp
- Revision:
- 12:67c524db9e07
- Parent:
- 8:a45fe77efcc5
--- a/WebPages.cpp Sun Mar 03 00:26:40 2019 +0000 +++ b/WebPages.cpp Mon Mar 04 00:05:08 2019 +0000 @@ -23,19 +23,12 @@ extern "C" void mbed_reset(); -// ########################################## -// This test version controls the LEDs -// -DigitalOut leds[4] = { LED1, LED2, LED3, LED4 }; - static const char hdrTypeHTML_NoCache[] = "Content-Type: text/html\r\n" "Cache-Control: no-cache\r\n"; - - // The /setup.xml file // // sprintf(buf, SETUP_TEMPLATE, "FriendlyName", "udn_hexstring", "serialNum", "ip.ad.dr", portNum);