![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
V.06 11/3
Dependencies: FT6206 SDFileSystem SPI_TFT_ILI9341 TFT_fonts
Fork of ATT_AWS_IoT_demo by
Diff: WNCInterface/WNCInterface.h
- Revision:
- 28:54d9a550adf1
- Parent:
- 23:b9ff83dc965f
- Child:
- 29:f71a0be59b99
diff -r 2f486c766854 -r 54d9a550adf1 WNCInterface/WNCInterface.h --- a/WNCInterface/WNCInterface.h Tue Feb 07 16:18:57 2017 +0000 +++ b/WNCInterface/WNCInterface.h Mon Oct 09 21:13:49 2017 +0000 @@ -31,7 +31,7 @@ #ifndef _WNCINTERFACE_H_ #define _WNCINTERFACE_H_ -#define WNC_DEBUG 0 //1=enable the WNC startup debug output +#define WNC_DEBUG 1 //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 @@ -39,7 +39,10 @@ //0 to NOT display the 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" +//for att_iot_starter kit card +//#define APN_DEFAULT "m2m.com.attz" +//for g&d card +#define APN_DEFAULT "internet.m2m.com" // // WNC Error Handling macros & data @@ -153,6 +156,9 @@ */ void WNCInterface::getICCID(string *str); + //certificate and key + void WNCInterface::getObject(string sObjectName, unsigned char *ucObject, int *iObjectLength); + //private: static WncController_fk::WncIpStats myNetStats; //maintaint the network statistics static WncControllerK64F_fk::WncControllerK64F *_pwnc; //pointer to the WncController instance