![](/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.cpp
- Revision:
- 28:54d9a550adf1
- Parent:
- 23:b9ff83dc965f
- Child:
- 29:f71a0be59b99
--- a/WNCInterface/WNCInterface.cpp Tue Feb 07 16:18:57 2017 +0000 +++ b/WNCInterface/WNCInterface.cpp Mon Oct 09 21:13:49 2017 +0000 @@ -40,6 +40,11 @@ DigitalOut shield_3v3_1v8_sig_trans_ena(PTC4); // 0 = disabled (all signals high impedence, 1 = translation active DigitalOut mdm_uart1_cts(PTD0); +//original value +//DigitalOut shield_3v3_1v8_sig_trans_ena(PTC4); // 0 = disabled (all signals high impedence, 1 = translation active +//DigitalOut mdm_uart1_cts(PTD0); + + char * _fatal_err_loc; //GLOBAL::holds any error location info MODSERIAL * _dbgout; Mutex _WNCLock; @@ -105,6 +110,7 @@ apn = APN_DEFAULT; ret = ( _pwnc->powerWncOn(apn,40) )? 2:0; + ret |= ( _pwnc->setApnName(apn) )? 1:0; ret |= ( _pwnc->getWncNetworkingStats(&myNetStats) )? 4:0; M_ULOCK; @@ -196,4 +202,6 @@ _pwnc->getICCID(str); } - +void WNCInterface::getObject(string sObjectName, unsigned char *ucObject, int *iObjectLength) { + _pwnc->getObject(sObjectName, ucObject, iObjectLength); +}