Forked mbed official WiflyInterface (interface for Roving Networks Wifly modules) which includes the possibility to use TCPSocketServer::accept as a non-blocking cal.

Dependents:   WiFlyHTTPServerSample MultiThreadingHTTPServer

Fork of WiflyInterface by mbed official

Files at this revision

API Documentation at this revision

Comitter:
leihen
Date:
Sat Jun 01 17:59:51 2013 +0000
Parent:
5:48d55083d2ff
Child:
8:ac134ae11893
Commit message:
Working sample which demonstrates the usage of WiFlyHTTPServer Interface.

Changed in this revision

Wifly/Wifly.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Wifly/Wifly.cpp	Sat Jun 01 15:03:14 2013 +0000
+++ b/Wifly/Wifly.cpp	Sat Jun 01 17:59:51 2013 +0000
@@ -22,7 +22,7 @@
 #include <algorithm>
 
 //Debug is disabled by default
-#if (1 && !defined(TARGET_LPC11U24))
+#if (0 && !defined(TARGET_LPC11U24))
 #define DBG(x, ...) std::printf("[Wifly : DBG]"x"\r\n", ##__VA_ARGS__);
 #define WARN(x, ...) std::printf("[Wifly : WARN]"x"\r\n", ##__VA_ARGS__);
 #define ERR(x, ...) std::printf("[Wifly : ERR]"x"\r\n", ##__VA_ARGS__);