An example demonstrating SSDP Discovery and a companion Web Server.
Dependencies: mbed mbed-rtos Watchdog SW_HTTPServer SW_String EthernetInterface TimeInterface SSDP
This example program provides a framework -by- example.
It makes itself discoverable to the network using SSDP. From there, it is easy to access the embedded web server to interact with the embedded node.
The example, built on the LPC1768, provides interaction to turn the LEDs on and off via a web page that is discovered using the SSDP protocol.
It also picks up time via an NTP server.
WebPages.h
- Committer:
- WiredHome
- Date:
- 2018-07-03
- Revision:
- 0:de1dfa2ab813
File content as of revision 0:de1dfa2ab813:
#ifndef WEBPAGES_H #define WEBPAGES_H #include "SW_HTTPServer.h" HTTPServer::CallBackResults Setup_xml(HTTPServer *svr, HTTPServer::CallBackType type, char * path, const HTTPServer::namevalue *queryParams, int queryParamCount); HTTPServer::CallBackResults RootPage(HTTPServer *svr, HTTPServer::CallBackType type, char * path, const HTTPServer::namevalue *queryParams, int queryParamCount); #endif // WEBPAGES_H