easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI

Dependencies:   WNC14A2AInterface-httpmodified

Fork of easy-connect by Jim Flynn

Files at this revision

API Documentation at this revision

Comitter:
JMF
Date:
Wed Apr 19 16:27:49 2017 +0000
Parent:
2:08d87f548551
Child:
4:daf182af022b
Commit message:
update

Changed in this revision

WNC14A2AInterface.lib Show annotated file Show diff for this revision Revisions of this file
easy-connect.h Show annotated file Show diff for this revision Revisions of this file
--- a/WNC14A2AInterface.lib	Wed Apr 19 01:24:21 2017 +0000
+++ b/WNC14A2AInterface.lib	Wed Apr 19 16:27:49 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/Avnet/code/WNC14A2AInterface/#d197692c4447
+http://developer.mbed.org/teams/Avnet/code/WNC14A2AInterface/#7fd9e590c4e7
--- a/easy-connect.h	Wed Apr 19 01:24:21 2017 +0000
+++ b/easy-connect.h	Wed Apr 19 16:27:49 2017 +0000
@@ -32,8 +32,8 @@
 WNC14A2AInterface *wnc;
 
 #if MBED_CONF_APP_WNC_DEBUG == true
-extern BufferedSerial pc;
-#define Serial BufferedSerial
+#include "WNCDebug.h"
+WNCDebug dbgout(stderr);
 #endif
 
 #elif MBED_CONF_APP_NETWORK_INTERFACE == MESH_LOWPAN_ND
@@ -100,7 +100,7 @@
 #if MBED_CONF_APP_WNC_DEBUG == true
         printf("[EasyConnect] with debug output\n");
         printf("[WNC Driver ] debug = %d\n",MBED_CONF_APP_WNC_DEBUG_SETTING);
-        wnc = new WNC14A2AInterface(&pc);
+        wnc = new WNC14A2AInterface(&dbgout);
         wnc->doDebug(MBED_CONF_APP_WNC_DEBUG_SETTING);
 #else
         wnc = new WNC14A2AInterface;