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.

Committer:
WiredHome
Date:
Tue Jul 03 02:10:23 2018 +0000
Revision:
0:de1dfa2ab813
An example program demonstrating the SSDP-based discovery and a companion Web Server to interact with the mbed device. Scan the network (e.g. in Windows Explorer) to identify the node. Click to open its web page to interact with it.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
WiredHome 0:de1dfa2ab813 1
WiredHome 0:de1dfa2ab813 2 #ifndef WEBPAGES_H
WiredHome 0:de1dfa2ab813 3 #define WEBPAGES_H
WiredHome 0:de1dfa2ab813 4
WiredHome 0:de1dfa2ab813 5 #include "SW_HTTPServer.h"
WiredHome 0:de1dfa2ab813 6
WiredHome 0:de1dfa2ab813 7
WiredHome 0:de1dfa2ab813 8 HTTPServer::CallBackResults Setup_xml(HTTPServer *svr, HTTPServer::CallBackType type, char * path,
WiredHome 0:de1dfa2ab813 9 const HTTPServer::namevalue *queryParams, int queryParamCount);
WiredHome 0:de1dfa2ab813 10
WiredHome 0:de1dfa2ab813 11 HTTPServer::CallBackResults RootPage(HTTPServer *svr, HTTPServer::CallBackType type, char * path,
WiredHome 0:de1dfa2ab813 12 const HTTPServer::namevalue *queryParams, int queryParamCount);
WiredHome 0:de1dfa2ab813 13
WiredHome 0:de1dfa2ab813 14 #endif // WEBPAGES_H