Working sample implementation for the EthernetInterface HTTPServer.

Dependencies:   EthernetInterface HTTPServer mbed-rpc mbed-rtos mbed

Sample application which shows basic functionality of my HTTPServer library.

Import libraryHTTPServer

Single instance HTTP Server using new Ethernet Interface.

.

Files at this revision

API Documentation at this revision

Comitter:
leihen
Date:
Sat Aug 17 15:35:01 2013 +0000
Parent:
3:23bcc90d6587
Child:
5:c5c2f7026638
Commit message:
Moved the debug.h file into the HTTPServer library.

Changed in this revision

HTTPServer.lib Show annotated file Show diff for this revision Revisions of this file
debug.h Show diff for this revision Revisions of this file
--- a/HTTPServer.lib	Sat Aug 17 15:32:16 2013 +0000
+++ b/HTTPServer.lib	Sat Aug 17 15:35:01 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/leihen/code/HTTPServer/#011edcd33e86
+http://mbed.org/users/leihen/code/HTTPServer/#909dcf44c3db
--- a/debug.h	Sat Aug 17 15:32:16 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-#ifndef __DEBUG_H__
-#define __DEBUG_H__
-
-
-#ifdef DEBUG
-#define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
-#define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
-#define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
-#else
-#define INFO(x, ...)
-#define WARN(x, ...)
-#define ERR(x, ...)
-#endif
-
-
-#endif //   __DEBUG_H__#ifndef __DEBUG_H__