From 4ef332ec707946a3cf2a55473d05dfc9af3d4b11 Mon Sep 17 00:00:00 2001 From: Maksym Telychko Date: Wed, 26 Jun 2019 13:05:32 +0300 Subject: [MTS-MTQ] network radio mode switch: refactoring method name --- include/mts/MTS_IO_ICellularRadio.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'include/mts/MTS_IO_ICellularRadio.h') 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 /*! -- cgit v1.2.3