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:
- 9:9f0578ff157a
- Parent:
- 8:4b38bfb1704d
- Child:
- 10:9d8b23b60fd6
diff -r 4b38bfb1704d -r 9f0578ff157a WNCInterface.h --- a/WNCInterface.h Fri Oct 07 00:36:47 2016 +0000 +++ b/WNCInterface.h Fri Oct 07 13:26:00 2016 +0000 @@ -81,6 +81,7 @@ #define M_LOCK {extern Mutex _WNCLock; _WNCLock.lock();} #define M_ULOCK {extern Mutex _WNCLock; _WNCLock.unlock();} +#define CHK_WNCFE(x,y) if( x ){M_ULOCK; FATAL_WNC_ERROR(y);} // Because the WncController has intermixed socket & interface functionallity // will need to make the Socket class a friend of the Interface class. This