diff options
author | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-06-26 13:05:32 +0300 |
---|---|---|
committer | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-06-26 13:08:58 +0300 |
commit | 4ef332ec707946a3cf2a55473d05dfc9af3d4b11 (patch) | |
tree | 442f0f7aeacf0c4477f472b83185b5eaf1c5bcae /include/mts/MTS_IO_ICellularRadio.h | |
parent | 49429a4f10d9e40d3c2bcba2d9c8fc0d5a9bc830 (diff) | |
download | libmts-io-4ef332ec707946a3cf2a55473d05dfc9af3d4b11.tar.gz libmts-io-4ef332ec707946a3cf2a55473d05dfc9af3d4b11.tar.bz2 libmts-io-4ef332ec707946a3cf2a55473d05dfc9af3d4b11.zip |
[MTS-MTQ] network radio mode switch: refactoring method name
Diffstat (limited to 'include/mts/MTS_IO_ICellularRadio.h')
-rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index 2d47fcf..e2bf652 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -60,12 +60,12 @@ namespace MTS { NOT_INSERTED }; - enum RADIOMODE : uint8_t { - RADIOMODE_UNKNOWN = 0, - RADIOMODE_AUTO, - RADIOMODE_GSM_ONLY, - RADIOMODE_UMTS_ONLY, - RADIOMODE_LTE_ONLY + 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 }; static CODE convertModelToType(const std::string& sModel, std::string& sType); @@ -262,8 +262,6 @@ namespace MTS { virtual CODE getRegistration(REGISTRATION& eRegistration) = 0; virtual CODE convertRegistrationToString(REGISTRATION eRegistration, std::string& sRegistration) = 0; - virtual CODE getRadioMode(RADIOMODE &mode) = 0; - virtual CODE setRadioMode(RADIOMODE mode) = 0; /** * @brief unlockSimCard - unlock the SIM card using PIN code provided * @@ -283,6 +281,8 @@ 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 /*! |