![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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:
- 11:f7a5b6c7305c
- Parent:
- 10:ca0c1db6d933
diff -r ca0c1db6d933 -r f7a5b6c7305c WebPages.cpp --- a/WebPages.cpp Sun Mar 03 23:41:27 2019 +0000 +++ b/WebPages.cpp Mon Mar 04 00:00:33 2019 +0000 @@ -21,19 +21,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); @@ -62,7 +55,7 @@ " <width>100</width>\n" " <height>100</height>\n" " <depth>100</depth>\n" - " <url>icon.jpg</url>\n" + " <url>icon.png</url>\n" " </iconList>\n" " <presentationURL>http://%s:%d</presentationURL>\n" " </device>\n"