Implementation of the CellularInterface for u-blox C030 boards with N2xx modems. Note: requires the N211 module firmware to be at least 06.57 A01.02.

Dependents:   example-ublox-cellular-interface HelloMQTT example-ublox-cellular-interface_r410M example-ublox-mbed-client ... more

Files at this revision

API Documentation at this revision

Comitter:
philware
Date:
Tue Dec 12 15:51:45 2017 +0000
Parent:
11:4be20bab5138
Child:
13:2504d4160042
Commit message:
Don't quit the loop by breaking out of it, set the size = 0 or success to false.

Changed in this revision

UbloxATCellularInterfaceN2xx.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxATCellularInterfaceN2xx.cpp	Thu Sep 28 15:30:22 2017 +0100
+++ b/UbloxATCellularInterfaceN2xx.cpp	Tue Dec 12 15:51:45 2017 +0000
@@ -483,9 +483,7 @@
                 nsapi_error_size = NSAPI_ERROR_WOULD_BLOCK;
                 success = false;
             }
-            
-            // quit while loop
-            break;
+            size = 0; // This simply to cause an exit
         }
         
         at_set_timeout(at_timeout);