update wifly interface with some factory resets

Dependents:   Wifly_UpdateFirmware

Fork of WiflyInterface by mbed official

Files at this revision

API Documentation at this revision

Comitter:
ddollar
Date:
Tue Aug 06 02:18:46 2013 +0000
Parent:
2:8e54830d0df7
Commit message:
add some factory reset

Changed in this revision

Wifly/Wifly.cpp Show annotated file Show diff for this revision Revisions of this file
Wifly/Wifly.h Show annotated file Show diff for this revision Revisions of this file
--- a/Wifly/Wifly.cpp	Sat Nov 24 16:59:36 2012 +0000
+++ b/Wifly/Wifly.cpp	Tue Aug 06 02:18:46 2013 +0000
@@ -22,7 +22,7 @@
 #include <algorithm>
 
 //Debug is disabled by default
-#if (0 && !defined(TARGET_LPC11U24))
+#if (1 && !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__);
--- a/Wifly/Wifly.h	Sat Nov 24 16:59:36 2012 +0000
+++ b/Wifly/Wifly.h	Tue Aug 06 02:18:46 2013 +0000
@@ -30,7 +30,7 @@
 #include "mbed.h"
 #include "CBuffer.h"
 
-#define DEFAULT_WAIT_RESP_TIMEOUT 500
+#define DEFAULT_WAIT_RESP_TIMEOUT 5500
 
 enum Security {
     NONE = 0,