The WDCInterface is is a drop-in replacement for an EthernetInterface class that allows the user to connect to the Internet with a Wistron NeWeb Corporation (WNC) M14A2A Series data module using the standard network Socket API's. This interface class is used in the AT&T Cellular IoT Starter Kit which is sold by Avnet (http://cloudconnectkits.org/product/att-cellular-iot-starter-kit).
Dependencies: WncControllerK64F
Dependents: WNCProximityMqtt Pubnub_ATT_IoT_SK_WNC_sync BluemixDemo BluemixQS ... more
See the WNCInterface README in the Wiki tab for detailed information on this library.
Diff: WNCInterface.h
- Revision:
- 10:9d8b23b60fd6
- Parent:
- 9:9f0578ff157a
- Child:
- 18:198e9b0acf11
- Child:
- 27:2dc9461c04dc
--- a/WNCInterface.h Fri Oct 07 13:26:00 2016 +0000
+++ b/WNCInterface.h Fri Oct 07 13:54:09 2016 +0000
@@ -31,7 +31,7 @@
#ifndef _WNCINTERFACE_H_
#define _WNCINTERFACE_H_
-#define WNC_DEBUG 1 //1=enable the WNC startup debug output
+#define WNC_DEBUG 0 //1=enable the WNC startup debug output
//0=disable the WNC startup debug output
#define STOP_ON_FE 1 //1=hang forever if a fatal error occurs
//0=simply return failed response for all socket calls
@@ -68,7 +68,7 @@
#endif
#if DISPLAY_FE == 1
-#define PFE {extern MODSERIAL *_dbgout;if(_dbgout)_dbgout->printf(RSTMSG "WNC FAILED @ %s\r\n", FATAL_STR);}
+#define PFE {extern MODSERIAL *_dbgout;if(_dbgout)_dbgout->printf(RSTMSG "\r\n>>WNC FAILED @ %s\r\n", FATAL_STR);}
#else
#define PFE
#endif

