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.
Revision 10:9d8b23b60fd6, committed 2016-10-07
- Comitter:
- JMF
- Date:
- Fri Oct 07 13:54:09 2016 +0000
- Parent:
- 9:9f0578ff157a
- Child:
- 11:75cf1e1c921c
- Commit message:
- changed the WNC FAILED message to output a CRLF first so the message isn't embedded in user output.
Changed in this revision
| WNCInterface.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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

