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 6:7cda15f762fe, committed 2016-09-28
- Comitter:
- JMF
- Date:
- Wed Sep 28 00:17:57 2016 +0000
- Parent:
- 5:759dceff95b9
- Child:
- 7:fded23f50479
- Commit message:
- Modified so that reset the MCU on fatal WNC error is NOT the default case. Instead, have it hang so we can catch errors and not hide them with a reset.
Changed in this revision
| WNCInterface.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/WNCInterface.h Tue Sep 27 19:50:40 2016 +0000
+++ b/WNCInterface.h Wed Sep 28 00:17:57 2016 +0000
@@ -35,7 +35,7 @@
//0=simply return failed response for all socket calls
#define DISPLAY_FE 1 //1 to display the fatal error when it occurs
//0 to NOT display the fatal error
-#define RESETON_FE 1 //1 to cause the MCU to reset on fatal error
+#define RESETON_FE 0 //1 to cause the MCU to reset on fatal error
//0 to NOT reset the MCU
#define APN_DEFAULT "m2m.com.attz"

