From bc2875140ba6a91eaeab8e9626a212986dcf5d4d Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Mon, 31 May 2021 16:52:29 +0300 Subject: [GP-1111] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 Switched to the separate fields for SIM MCC and SIM MNC after a code review. --- include/mts/MTS_IO_ICellularRadio.h | 3 ++- src/MTS_IO_ICellularRadio.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index bed4dab..58329c4 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -151,7 +151,8 @@ namespace MTS { static const char *KEY_MSL; //!< Master Subsidy Lock static const char *KEY_SUPPORTED_CELL_MODES; //!< Comma-separated list of all supported cellular modes (2g,3g,4g) static const char *KEY_SIM_CARRIER_CODE; //!< Unique carrier identifier based on the SIM card information. - static const char *KEY_SIM_MCC_MNC; //!< MCC/MNC of the home network from the SIM. + static const char *KEY_SIM_MCC; //!< MCC of the home network from the SIM. + static const char *KEY_SIM_MNC; //!< MNC of the home network from the SIM. //Network Status Data diff --git a/src/MTS_IO_ICellularRadio.cpp b/src/MTS_IO_ICellularRadio.cpp index 042faf1..0a33b59 100644 --- a/src/MTS_IO_ICellularRadio.cpp +++ b/src/MTS_IO_ICellularRadio.cpp @@ -52,7 +52,8 @@ const char *MTS::IO::ICellularRadio::KEY_ICCID = "iccid"; //!< Integrated const char *MTS::IO::ICellularRadio::KEY_MSL = "msl"; //!< Master Subsidy Lock const char *MTS::IO::ICellularRadio::KEY_SUPPORTED_CELL_MODES = "supportedCellularModes"; //!< Comma-separated list of all supported cellular modes (2g,3g,4g) const char *MTS::IO::ICellularRadio::KEY_SIM_CARRIER_CODE = "simCarrierCode"; //!< Unique carrier identifier based on the SIM card information. -const char *MTS::IO::ICellularRadio::KEY_SIM_MCC_MNC = "simMccMnc"; //!< MCC/MNC of the home network from the SIM. +const char *MTS::IO::ICellularRadio::KEY_SIM_MCC = "simMcc"; //!< MCC of the home network from the SIM. +const char *MTS::IO::ICellularRadio::KEY_SIM_MNC = "simMnc"; //!< MNC of the home network from the SIM. //Dynamic Data const char *MTS::IO::ICellularRadio::KEY_ROAMING = "roaming"; //!< Indicates whether or not using Home Network const char *MTS::IO::ICellularRadio::KEY_DATETIME = "datetime"; //!< Date and Time from tower -- cgit v1.2.3