summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-07-31 14:30:04 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-07-31 14:30:04 +0300
commite8412ebb27c8ff995795951d609377b003c8d6b1 (patch)
treea3ff0cc1aa56fac5228f341bd44031573b56db71 /include
parentdf51426afd369bec64597eb922b6f6cc87d1f5ac (diff)
downloadlibmts-io-e8412ebb27c8ff995795951d609377b003c8d6b1.tar.gz
libmts-io-e8412ebb27c8ff995795951d609377b003c8d6b1.tar.bz2
libmts-io-e8412ebb27c8ff995795951d609377b003c8d6b1.zip
Removed obsolete methods get/set radio mode
Use get/setCellularMode instead Revert of commits: 4ef332ec707946a3cf2a55473d05dfc9af3d4b11 [MTS-MTQ] network radio mode switch: refactoring method name 143feb6a4587817d28c77e4df3a1b594b855f5e5 [MTS-MTQ] RAT mode switch: implementation for telit and quectel
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_ICellularRadio.h10
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h2
-rw-r--r--include/mts/MTS_IO_TelitRadio.h2
3 files changed, 0 insertions, 14 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h
index ce1a91e..57d6f53 100644
--- a/include/mts/MTS_IO_ICellularRadio.h
+++ b/include/mts/MTS_IO_ICellularRadio.h
@@ -60,14 +60,6 @@ namespace MTS {
NOT_INSERTED
};
- enum RADIO_NETWORK_MODE : uint8_t {
- RADIO_NETWORK_MODE_UNKNOWN = 0,
- RADIO_NETWORK_MODE_AUTO,
- RADIO_NETWORK_MODE_GSM_ONLY,
- RADIO_NETWORK_MODE_UMTS_ONLY,
- RADIO_NETWORK_MODE_LTE_ONLY
- };
-
enum CELLULAR_MODES : uint8_t {
CELLULAR_MODE_NA = 0, // NOT AVAILABLE
CELLULAR_MODE_2G = 1 << 0, // GSM
@@ -293,8 +285,6 @@ namespace MTS {
* or on any other error).
*/
virtual CODE unlockSimCard(const Json::Value& jArgs) = 0;
- virtual CODE getRadioNetworkMode(RADIO_NETWORK_MODE &mode) = 0;
- virtual CODE setRadioNetworkMode(RADIO_NETWORK_MODE mode) = 0;
//! Gather details of the radio's Mobile IP Profile
/*!
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index 3b1ba5a..df3b5b5 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -41,8 +41,6 @@ namespace MTS {
CODE convertdBmToSignalStrength(const int32_t& dBm, int32_t& iRssi) override;
CODE setMdn(const Json::Value& jArgs) override;
- CODE getRadioNetworkMode(RADIO_NETWORK_MODE &mode) override;
- CODE setRadioNetworkMode(RADIO_NETWORK_MODE mode) override;
protected:
QuectelRadio(const std::string& sName, const std::string& sRadioPort);
diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h
index fc041cf..991f630 100644
--- a/include/mts/MTS_IO_TelitRadio.h
+++ b/include/mts/MTS_IO_TelitRadio.h
@@ -39,8 +39,6 @@ namespace MTS {
CODE convertdBmToSignalStrength(const int32_t& dBm, int32_t& iRssi) override;
CODE setMdn(const Json::Value& jArgs) override;
- CODE getRadioNetworkMode(RADIO_NETWORK_MODE &mode) override;
- CODE setRadioNetworkMode(RADIO_NETWORK_MODE mode) override;
CODE getSupportedCellularModes(CELLULAR_MODES &networks) override;
CODE getCellularMode(CELLULAR_MODES &networks) override;