Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WiflyInterface by
Revision 33:26a14bc6d90e, committed 2016-06-28
- Comitter:
- defrost
- Date:
- Tue Jun 28 16:22:27 2016 +0000
- Parent:
- 32:ab206f7f5090
- Child:
- 34:a22a6343e3d4
- Commit message:
- - Added debugging statements
Changed in this revision
| Wifly/Wifly.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Wifly/Wifly.cpp Thu May 12 16:01:50 2016 +0000
+++ b/Wifly/Wifly.cpp Tue Jun 28 16:22:27 2016 +0000
@@ -21,7 +21,7 @@
#include <string>
#include <algorithm>
-//#define DEBUG
+#define DEBUG
#define INFOMESSAGES
//Debug is disabled by default
#ifdef DEBUG
@@ -481,10 +481,11 @@
Timer tmr;
int result = 0;
+ // Don't display the string that we will be sending because it is encoded, thus may screw up printf()
if(ACK == NULL){
- DBG("Will send: %s, no ACK requested.",str);
+ DBG("Will send a string, no ACK requested.");
}else{
- DBG("Will send: %s, looking for ACK: %s",str, ACK);
+ DBG("Will send a string, looking for ACK: %s", ACK);
}
attach_rx(false);
