This is a HTTP Server example using the new EthernetInterface and new mbed-rpc libraries.

Dependents:   HTTP-RPCServerExample

Fork of HTTPServer by Henry Leinen

Files at this revision

API Documentation at this revision

Comitter:
sammacjunkie
Date:
Fri Dec 06 18:18:23 2013 +0000
Parent:
16:cc3f5c53d0d5
Commit message:
added simple RPC example & turned off debug output

Changed in this revision

hl_debug.h Show annotated file Show diff for this revision Revisions of this file
diff -r cc3f5c53d0d5 -r 492d23f9644d hl_debug.h
--- a/hl_debug.h	Sat Aug 17 16:17:55 2013 +0000
+++ b/hl_debug.h	Fri Dec 06 18:18:23 2013 +0000
@@ -1,16 +1,17 @@
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
-
+/* Commenting out Debuging
 #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
 
 
 #endif //   __DEBUG_H__#ifndef __DEBUG_H__