I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Dependencies: WncControllerK64F
Diff: Socket/Endpoint.cpp
- Revision:
- 9:9f0578ff157a
- Parent:
- 7:fded23f50479
diff -r 4b38bfb1704d -r 9f0578ff157a Socket/Endpoint.cpp --- a/Socket/Endpoint.cpp Fri Oct 07 00:36:47 2016 +0000 +++ b/Socket/Endpoint.cpp Fri Oct 07 13:26:00 2016 +0000 @@ -47,8 +47,7 @@ char address[5]; int rslt; - if( WNCInterface::_pwnc->getWncStatus() == FATAL_FLAG ) - FATAL_WNC_ERROR(fail); + CHK_WNCFE(( WNCInterface::_pwnc->getWncStatus() == FATAL_FLAG ), fail); reset_address(); _epAddr.port = port; //go ahead and save the port