fork

Revision:
29:773cfb0fe56c
Parent:
26:4f28a1eaa2aa
Child:
31:d10147163c7b
--- 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