- Added setBaud() function - Added CheckNetworkStatus() function - Improved messaging system
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WiflyInterface by
Diff: WiflyInterface.cpp
- Revision:
- 26:eaaedb036df1
- Parent:
- 25:36b2d76ca8d9
- Child:
- 27:208b4cf69b44
--- a/WiflyInterface.cpp Thu Mar 31 16:22:37 2016 +0000 +++ b/WiflyInterface.cpp Fri Apr 01 00:55:36 2016 +0000 @@ -1,6 +1,7 @@ #include "WiflyInterface.h" -#define DEBUG +//#define DEBUG +#define INFOMESSAGES //Debug is disabled by default #ifdef DEBUG #define DBG(x, ...) pc.printf("[WiflyInterface : DBG] "x"\r\n", ##__VA_ARGS__); @@ -12,7 +13,7 @@ #define ERR(x, ...) #endif -#ifdef DEBUG +#ifdef INFOMESSAGES #define INFO(x, ...) pc.printf("[WiflyInterface : INFO] "x"\r\n", ##__VA_ARGS__); #else #define INFO(x, ...)