This is a HTTP Server example using the new EthernetInterface and new mbed-rpc libraries.
Dependents: HTTP-RPCServerExample
Fork of HTTPServer by
hl_debug.h@17:492d23f9644d, 2013-12-06 (annotated)
- Committer:
- sammacjunkie
- Date:
- Fri Dec 06 18:18:23 2013 +0000
- Revision:
- 17:492d23f9644d
- Parent:
- 16:cc3f5c53d0d5
added simple RPC example & turned off debug output
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
leihen | 15:909dcf44c3db | 1 | #ifndef __DEBUG_H__ |
leihen | 15:909dcf44c3db | 2 | #define __DEBUG_H__ |
leihen | 15:909dcf44c3db | 3 | |
sammacjunkie | 17:492d23f9644d | 4 | /* Commenting out Debuging |
leihen | 15:909dcf44c3db | 5 | #ifdef DEBUG |
leihen | 15:909dcf44c3db | 6 | #define INFO(x, ...) std::printf("[INFO: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
leihen | 15:909dcf44c3db | 7 | #define WARN(x, ...) std::printf("[WARN: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
leihen | 15:909dcf44c3db | 8 | #define ERR(x, ...) std::printf("[ERR: %s:%d]"x"\r\n", __FILE__, __LINE__, ##__VA_ARGS__); |
leihen | 15:909dcf44c3db | 9 | #else |
sammacjunkie | 17:492d23f9644d | 10 | */ |
leihen | 15:909dcf44c3db | 11 | #define INFO(x, ...) |
leihen | 15:909dcf44c3db | 12 | #define WARN(x, ...) |
leihen | 15:909dcf44c3db | 13 | #define ERR(x, ...) |
sammacjunkie | 17:492d23f9644d | 14 | //#endif |
leihen | 15:909dcf44c3db | 15 | |
leihen | 15:909dcf44c3db | 16 | |
leihen | 15:909dcf44c3db | 17 | #endif // __DEBUG_H__#ifndef __DEBUG_H__ |