modified to get more signal info
Dependencies: WNC14A2AInterface
Fork of easy-connect by
Diff: easy-connect.h
- Revision:
- 3:48292c226682
- Parent:
- 0:2563b0415d1f
diff -r 08d87f548551 -r 48292c226682 easy-connect.h --- 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;