diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-16 15:37:02 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-06-16 15:37:02 +0300 |
commit | 747b898f36c4764475e61f20847ba4bbb3a81404 (patch) | |
tree | b104891745ea1206f5ae5e6d8728228583441112 /include/mts/MTS_IO_CellularRadio.h | |
parent | 7634bcfed0ea186175e9f59672a38d2a86fbf025 (diff) | |
download | libmts-io-747b898f36c4764475e61f20847ba4bbb3a81404.tar.gz libmts-io-747b898f36c4764475e61f20847ba4bbb3a81404.tar.bz2 libmts-io-747b898f36c4764475e61f20847ba4bbb3a81404.zip |
[GP-654] Add SIM card-based carrier detection
Changes after a code review:
- renamed "MTS Carrier Code" to the "Carrier Code";
- fixed descriptions for the new field and methods.
Diffstat (limited to 'include/mts/MTS_IO_CellularRadio.h')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index e65eb4e..ed87a24 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -81,7 +81,7 @@ namespace MTS { CODE convertCellModesToString(CELLULAR_MODES eCellModes, std::string& sCellModes) override; CODE unlockSimCard(const Json::Value& jArgs) override; - CODE getMtsSimCarrierCode(std::string& sCarrier) override; + CODE getSimCarrierCode(std::string& sCarrierCode) override; CODE getMipProfile(Json::Value& jMipProfile) override; CODE validateMsl(const Json::Value& jArgs) override; @@ -165,8 +165,8 @@ namespace MTS { */ virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk) = 0; - //! Get MTS carrier code based on the SIM card ID (ICCID) - virtual CODE getMtsSimCarrierCode(const std::string& sIccid, std::string& sCarrier); + //! Get carrier code based on the SIM card ID (ICCID) + virtual CODE getSimCarrierCode(const std::string& sIccid, std::string& sCarrierCode); void initMipProfile(Json::Value& jData); bool splitAndAssign(const std::string& sLine, const std::string& sKey, Json::Value& jParent, const std::string& sJsonKey, Json::ValueType eType = Json::ValueType::stringValue); |