diff options
author | mykola.salomatin <mykola.salomatin@globallogic.com> | 2021-04-15 20:47:36 +0300 |
---|---|---|
committer | mykola.salomatin <mykola.salomatin@globallogic.com> | 2021-04-15 20:47:36 +0300 |
commit | 6cab1e29fc2031a76c87e49c3bcdd7c5db8f40dc (patch) | |
tree | bbb704819781eb1f57648adb4dde434376fc0018 /include | |
parent | 67a991ff3d772d2f81cb9907e1a710a88436f7c7 (diff) | |
download | libmts-io-6cab1e29fc2031a76c87e49c3bcdd7c5db8f40dc.tar.gz libmts-io-6cab1e29fc2031a76c87e49c3bcdd7c5db8f40dc.tar.bz2 libmts-io-6cab1e29fc2031a76c87e49c3bcdd7c5db8f40dc.zip |
[MTX-3998] mPower R. Apr 2021: +CEMODE shall be set to CEMODE=2 - Quectel - GP-1111
Refactoring common functions, telit and quectel functions related to CEMODE switching
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 4 | ||||
-rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 6 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE910Radio.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index 6840398..b245c48 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -134,8 +134,8 @@ namespace MTS { virtual std::string waitResponse(IsNeedMoreData& isNeedMoreData, int32_t timeoutMillis = 100) override; - CODE setUeModeOfOperation(UE_MODES_OF_OPERATION newmode) override; - CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& newmode) override; + CODE setUeModeOfOperation(UE_MODES_OF_OPERATION mode) override; + CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& mode) override; protected: diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index c35e903..63cedbe 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -82,7 +82,7 @@ namespace MTS { static CODE convertModelToMtsShortCode(const std::string& sModel, std::string& sCode, ICellularRadio *radioObj = NULL); static CODE convertServiceDomainToString(SERVICEDOMAIN eSd, std::string& sSd); static CODE convertActiveBandToString(ACTIVEBAND eBand, std::string& sBand); - static CODE convertUeModeToString(UE_MODES_OF_OPERATION mode, std::string& string); + static CODE convertUeModeToString(UE_MODES_OF_OPERATION mode, std::string& sMode); static CODE convertStringToUeMode(const std::string& sMode, UE_MODES_OF_OPERATION& mode); static std::string sendCommand(MTS::AutoPtr<MTS::IO::Connection>& apIo, @@ -575,8 +575,8 @@ namespace MTS { int32_t timeoutMillis = 100) = 0; - virtual CODE setUeModeOfOperation(UE_MODES_OF_OPERATION newmode) = 0; - virtual CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& newmode) = 0; + virtual CODE setUeModeOfOperation(UE_MODES_OF_OPERATION mode) = 0; + virtual CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& mode) = 0; }; } } diff --git a/include/mts/MTS_IO_LE910Radio.h b/include/mts/MTS_IO_LE910Radio.h index e8a0dec..f64600d 100644 --- a/include/mts/MTS_IO_LE910Radio.h +++ b/include/mts/MTS_IO_LE910Radio.h @@ -45,8 +45,8 @@ namespace MTS { CODE setRxDiversity(const Json::Value& jArgs); CODE getModemLocation(std::string& sLocation); - CODE setUeModeOfOperation(UE_MODES_OF_OPERATION newmode) override; - CODE getUeModeOfOperation(UE_MODES_OF_OPERATION &newmode) override; + CODE setUeModeOfOperation(UE_MODES_OF_OPERATION mode) override; + CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& mode) override; protected: |