Working Multithreaded HTTP Server using WiFly module. Currently only supporting GET method.

Dependencies:   WiFlyHTTPServer WiflyInterface mbed-rpc mbed-rtos mbed

RTOS Wifly HTTP Server

This sample application demonstrates how the HTTP Server can be used in a multithreaded (RTOS) Environment. However currently only the GET method is supported.

Committer:
leihen
Date:
Wed Jun 26 22:41:58 2013 +0000
Revision:
1:40eadac4750b
Parent:
0:9c6ebc97c758
UPdated the HTTPServer Library

Who changed what in which revision?

UserRevisionLine numberNew contents of line
leihen 0:9c6ebc97c758 1 #ifndef __DEBUG_H__
leihen 0:9c6ebc97c758 2 #define __DEBUG_H__
leihen 0:9c6ebc97c758 3
leihen 0:9c6ebc97c758 4
leihen 0:9c6ebc97c758 5 #ifdef DEBUG
leihen 0:9c6ebc97c758 6 #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 0:9c6ebc97c758 7 #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 0:9c6ebc97c758 8 #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__);
leihen 0:9c6ebc97c758 9 #else
leihen 0:9c6ebc97c758 10 #define INFO(x, ...)
leihen 0:9c6ebc97c758 11 #define WARN(x, ...)
leihen 0:9c6ebc97c758 12 #define ERR(x, ...)
leihen 0:9c6ebc97c758 13 #endif
leihen 0:9c6ebc97c758 14
leihen 0:9c6ebc97c758 15
leihen 0:9c6ebc97c758 16 #endif // __DEBUG_H__