ublox-at-cellular-interface_tests

Revision:
38:7d053638b3f1
Parent:
36:9d48ec522cb4
--- a/UbloxATCellularInterface.cpp	Tue Sep 17 16:15:33 2019 +0500
+++ b/UbloxATCellularInterface.cpp	Mon Sep 23 15:13:42 2019 +0500
@@ -346,9 +346,10 @@
                                                        nsapi_security_t auth)
 {
     bool success = false;
+
+#ifndef TARGET_UBLOX_C030_R41XM
     int at_timeout = _at_timeout;
 
-#ifndef TARGET_UBLOX_C030_R41XM
     if (_at->send("AT+CGDCONT=%d,\"IP\",\"%s\"", cid, apn) && _at->recv("OK") &&
         _at->send("AT+UAUTHREQ=%d,%d,\"%s\",\"%s\"", cid, nsapi_security_to_modem_security(auth),
                   username, password) && _at->recv("OK") &&