diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-02-25 14:53:39 +0200 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-02-25 15:42:32 +0200 |
commit | 5d81a9e8d2afc8d2f1dbf9ab29d9248dcb54378a (patch) | |
tree | cbe52d51503f4c221b6ad90119c7aae3fd716bb5 /include | |
parent | cdd3fbe0f999546b3f39843f6f742f185781edd7 (diff) | |
download | libmts-io-5d81a9e8d2afc8d2f1dbf9ab29d9248dcb54378a.tar.gz libmts-io-5d81a9e8d2afc8d2f1dbf9ab29d9248dcb54378a.tar.bz2 libmts-io-5d81a9e8d2afc8d2f1dbf9ab29d9248dcb54378a.zip |
[MTX-3239] Add "cellularMode" value to the radio-query --dynamic
Ported "cellularModeStr" function to MTS::IO::CellularRadio class. This function
converts integer bitmap to comma-separated list of cellular modes.
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 2 | ||||
-rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index 4b53382..56506af 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -78,6 +78,8 @@ namespace MTS { CODE getRegistration(REGISTRATION& eRegistration) override; CODE convertRegistrationToString(REGISTRATION eRegistration, std::string& sRegistration) override; + CODE convertCellModesToString(CELLULAR_MODES eCellModes, std::string& sCellModes) override; + CODE unlockSimCard(const Json::Value& jArgs) override; CODE getMipProfile(Json::Value& jMipProfile) override; diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index f03bd2e..b9ac36f 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -267,6 +267,8 @@ namespace MTS { virtual CODE getRegistration(REGISTRATION& eRegistration) = 0; virtual CODE convertRegistrationToString(REGISTRATION eRegistration, std::string& sRegistration) = 0; + virtual CODE convertCellModesToString(CELLULAR_MODES eCellModes, std::string& sCellModes) = 0; + /** * @brief unlockSimCard - unlock the SIM card using PIN code provided * |