edrx change set
Diff: UbloxATCellularInterface.cpp
- Revision:
- 29:773cfb0fe56c
- Parent:
- 26:4f28a1eaa2aa
- Child:
- 30:0f571a4920c8
diff -r aef4a3de0de3 -r 773cfb0fe56c UbloxATCellularInterface.cpp --- a/UbloxATCellularInterface.cpp Mon Jun 24 11:42:03 2019 +0500 +++ b/UbloxATCellularInterface.cpp Mon Jul 29 14:49:01 2019 +0500 @@ -1180,7 +1180,10 @@ if (nwk_registration()) { registered = true; #ifdef TARGET_UBLOX_C030_R41XM - if (activate_context()) { + if(is_registered_psd() || is_registered_eps()) { + nsapi_error = NSAPI_ERROR_OK; + } + else if (activate_context()) { nsapi_error = NSAPI_ERROR_OK; } #endif