Base class for the ublox-xxx-cellular-xxx classes. Cannot be used standalone, only inherited by classes that do properly useful stuff. Or, to put it another way, if you are using any of the ublox-xxx-cellular-xxx classes, you will need this class also.

Dependents:   example-ublox-cellular-interface example-ublox-cellular-driver-gen HelloMQTT example-ublox-cellular-interface_r410M ... more

Files at this revision

API Documentation at this revision

Comitter:
fahimalavi
Date:
Mon Sep 17 10:46:14 2018 +0000
Parent:
18:2c255818b3a9
Parent:
16:afb3ca2d9915
Commit message:
Power up fix in master

Changed in this revision

UbloxCellularBase.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxCellularBase.cpp	Thu Sep 13 17:01:01 2018 +0500
+++ b/UbloxCellularBase.cpp	Mon Sep 17 10:46:14 2018 +0000
@@ -556,7 +556,10 @@
     wait_ms(250);
 
     for (int retry_count = 0; !success && (retry_count < 20); retry_count++) {
-        modem_power_up();
+        //In case of SARA-R4, modem takes a while to turn on, constantly toggling the power pin every ~2 secs causes the modem to never power up.
+        if ( (retry_count % 5) == 0) { 
+            modem_power_up();
+        }
         wait_ms(500);
         // Modem tends to spit out noise during power up - don't confuse the parser
         _at->flush();