drx

Revision:
30:c57aea1e9cd4
Parent:
29:2b91191eefb4
Child:
31:11d3c0c907d6
--- a/UbloxCellularBase.cpp	Tue Jul 30 17:06:57 2019 +0500
+++ b/UbloxCellularBase.cpp	Tue Jul 30 18:02:36 2019 +0500
@@ -816,6 +816,8 @@
             if (set_functionality_mode(FUNC_AIRPLANE)) {
 #endif
                 if (initialise_sim_card()) {
+                    int mno_profile;
+
 #ifdef TARGET_UBLOX_C030_R412M
                     if (_psm_status ==  false) { //psm is not enabled by application yet so disable it at start-up
                         set_power_saving_mode(0, 0);
@@ -834,6 +836,9 @@
                         set_receive_period(3,UbloxCellularBase::EDRXEUTRAN_NB_S1_mode);
                     }
                     get_receive_period();
+
+                    if (get_mno_profile(&mno_profile))
+                        tr_info("Current MNO profile is: %d", mno_profile);
 #endif
                     if (set_device_identity(&_dev_info.dev) && // Set up device identity
                         device_init(_dev_info.dev)) {// Initialise this device