Changed RPC sucessful execution code from 1 to 200. Included RpcHandler.h in main header file. Effectively allows RPC through HTTP.

Dependents:   RPC_HTTP RPC_HTTP_WIZnetInterface RPC_HTTP rpc_over_http_TL_interrupter_gatePJ

Fork of HTTPServer by Henry Leinen

Revision:
6:fe661fa9d18a
Parent:
4:d065642c32cc
Child:
7:cb7fec1265b5
--- a/HTTPRequestHandler.cpp	Sat Jun 01 06:24:43 2013 +0000
+++ b/HTTPRequestHandler.cpp	Sat Jun 01 16:49:17 2013 +0000
@@ -2,7 +2,9 @@
 #include "mbed.h"
 #include "HTTPRequestHandler.h"
 
-#if (1 && !defined(TARGET_LPC11U24))
+#define _DEBUG 0
+
+#if (_DEBUG && !defined(TARGET_LPC11U24))
 #define INFO(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
 #define WARN(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);
 #define ERR(x, ...) std::printf("[HTTPRequestHandler : DBG]"x"\r\n", ##__VA_ARGS__);