Added support for WNC M14A2A Cellular LTE Data Module.

Dependencies:   WNC14A2AInterface

Dependents:   http-example-wnc http-example-wnc-modified

Revision:
3:48292c226682
Parent:
0:2563b0415d1f
--- 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;