Fork of ublox-cellular-base to add LARA-R2 support

Fork of ublox-cellular-base by u-blox

Revision:
7:c2cf27a981b3
Parent:
6:8fadf1e49487
Child:
8:a15349fcab25
--- a/UbloxCellularBase.cpp	Fri Aug 11 14:52:26 2017 +0100
+++ b/UbloxCellularBase.cpp	Thu Sep 21 20:29:57 2017 +0000
@@ -511,12 +511,12 @@
 
     /* Initialize GPIO lines */
     tr_info("Powering up modem...");
-    onboard_modem_init();
+    modem_init();
     /* Give modem a little time to settle down */
     wait_ms(250);
 
     for (int retry_count = 0; !success && (retry_count < 20); retry_count++) {
-        onboard_modem_power_up();
+        modem_power_up();
         wait_ms(500);
         // Modem tends to spit out noise during power up - don't confuse the parser
         _at->flush();
@@ -568,8 +568,8 @@
     }
 
     // Now do a hard power-off
-    onboard_modem_power_down();
-    onboard_modem_deinit();
+    modem_power_down();
+    modem_deinit();
 
     _dev_info.reg_status_csd = CSD_NOT_REGISTERED_NOT_SEARCHING;
     _dev_info.reg_status_psd = PSD_NOT_REGISTERED_NOT_SEARCHING;