ublox-at-cellular-interface_R412M

Files at this revision

API Documentation at this revision

Comitter:
fahim.alavi@u-blox.com
Date:
Thu Jan 24 17:26:53 2019 +0500
Parent:
17:7b033423126c
Commit message:
Replace macro as don't need to call connect modem stack for R412M

Changed in this revision

UbloxATCellularInterface.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxATCellularInterface.cpp	Thu Jan 17 18:55:41 2019 +0500
+++ b/UbloxATCellularInterface.cpp	Thu Jan 24 17:26:53 2019 +0500
@@ -448,6 +448,7 @@
             if (_at->recv("+USOCR: %d\n", &modem_handle) && (modem_handle != SOCKET_UNUSED) &&
                 _at->recv("OK")) {
                 tr_debug("Socket 0x%8x: handle %d was created", (unsigned int) socket, modem_handle);
+
                 clear_socket(socket);
                 socket->modem_handle         = modem_handle;
                 *handle = (nsapi_socket_t) socket;
@@ -1105,7 +1106,7 @@
     }
 
     // Attempt to establish a connection
-#ifdef TARGET_UBLOX_C030_R410M
+#ifdef TARGET_UBLOX_C030_R41XM
     if (registered) {
 #else
     if (registered && connect_modem_stack()) {