I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Dependencies: WncControllerK64F
Diff: WNCInterface.cpp
- Revision:
- 5:759dceff95b9
- Parent:
- 4:99e7aeaceae7
- Child:
- 7:fded23f50479
--- a/WNCInterface.cpp Tue Sep 27 19:22:03 2016 +0000 +++ b/WNCInterface.cpp Tue Sep 27 19:50:40 2016 +0000 @@ -85,8 +85,12 @@ int WNCInterface::init(const char* apn, MODSERIAL * debug) { int ret = 0; - if( debug ) + if( debug ) { _pwnc = new WncControllerK64F_fk::WncControllerK64F::WncControllerK64F(&wncPinList, &mdmUart, debug); +#if WNC_DEBUG == 1 + _pwnc->enableDebug(1,1); +#endif + } else _pwnc = new WncControllerK64F_fk::WncControllerK64F::WncControllerK64F(&wncPinList, &mdmUart, NULL); @@ -169,4 +173,3 @@ return NULL; } -