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:
9:c2a1462b9b71
--- a/HTTPConnection.cpp	Sat Jun 01 06:24:43 2013 +0000
+++ b/HTTPConnection.cpp	Sat Jun 01 16:49:17 2013 +0000
@@ -3,12 +3,14 @@
 #include "mbed.h"
 #include "HTTPConnection.h"
 
+#define _DEBUG 0
+
 #include <vector>
 using std::vector;
 
 using std::string;
 
-#if (1 && !defined(TARGET_LPC11U24))
+#if (_DEBUG && !defined(TARGET_LPC11U24))
 #define INFO(x, ...) std::printf("[HttpConnection : INFO]"x"\r\n", ##__VA_ARGS__);
 #define WARN(x, ...) std::printf("[HttpConnection : WARN]"x"\r\n", ##__VA_ARGS__);
 #define ERR(x, ...) std::printf("[HttpConnection : ERR]"x"\r\n", ##__VA_ARGS__);