GNSS

Dependents:   ublox-at-cellular-interface-ext

Fork of ublox-at-cellular-interface by u-blox

Files at this revision

API Documentation at this revision

Comitter:
fahim.alavi@u-blox.com
Date:
Thu Feb 21 15:39:41 2019 +0500
Parent:
25:34c79d68667e
Commit message:
Support of R41XM added for PSM

Changed in this revision

UbloxATCellularInterface.cpp Show annotated file Show diff for this revision Revisions of this file
UbloxATCellularInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/UbloxATCellularInterface.cpp	Mon Feb 18 11:43:58 2019 +0500
+++ b/UbloxATCellularInterface.cpp	Thu Feb 21 15:39:41 2019 +0500
@@ -411,7 +411,7 @@
     return success;
 }
 
-#ifdef TARGET_UBLOX_C030_R410M
+#ifdef TARGET_UBLOX_C030_R41XM
 bool UbloxATCellularInterface::set_power_saving_mode(int periodic_time, int active_time, Callback<void()> func)
 {
     if (set_power_saving_mode(60, 20)) {
@@ -1345,7 +1345,7 @@
     // Set up modem and then register with the network
     if (init()) {
 
-#ifdef TARGET_UBLOX_C030_R410M
+#ifdef TARGET_UBLOX_C030_R41XM
         tr_info("PSM disabled at startup");
         set_power_saving_mode(0, 0);
 #endif
--- a/UbloxATCellularInterface.h	Mon Feb 18 11:43:58 2019 +0500
+++ b/UbloxATCellularInterface.h	Thu Feb 21 15:39:41 2019 +0500
@@ -261,7 +261,7 @@
      */
     virtual bool connect_modem_stack();
 
-#ifdef TARGET_UBLOX_C030_R410M
+#ifdef TARGET_UBLOX_C030_R41XM
 
     // /** Supported MNO profiles for SARA-R4.
     //  */