diff options
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                  /*! | 
