diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 10 | ||||
| -rw-r--r-- | include/mts/MTS_IO_QuectelRadio.h | 12 | 
2 files changed, 18 insertions, 4 deletions
| diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index e8ae891..c35e903 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -70,10 +70,12 @@ namespace MTS {                  enum UE_MODES_OF_OPERATION : uint8_t {                      UNKNOWN_MODE = 0, // current mode of operation is not available -                    PS_MODE1, // only EPS (LTE) services are allowed, the usage is “voice centric” -                    PS_MODE2, // only EPS (LTE) services are allowed, the usage is “data centric” -                    CS_PS_MODE1, // both EPS and non-EPS services are allowed, the usage is “voice centric” -                    CS_PS_MODE2 // both EPS and non-EPS services are allowed, the usage is “data centric” +                    PS_MODE1, // only EPS (LTE) services are allowed, the usage is "voice centric" +                    PS_MODE2, // only EPS (LTE) services are allowed, the usage is "data centric" +                    CS_PS_MODE1, // both EPS and non-EPS services are allowed, the usage is "voice centric" +                    CS_PS_MODE2, // both EPS and non-EPS services are allowed, the usage is "data centric" +                    CS_MODE1, // only non-EPS services are allowed, the usage is "voice centric" +                    CS_MODE2 // only non-EPS services are allowed, the usage is "data centric"                  };                  static CODE convertModelToType(const std::string& sModel, std::string& sType); diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h index 9713f48..04c0ef9 100644 --- a/include/mts/MTS_IO_QuectelRadio.h +++ b/include/mts/MTS_IO_QuectelRadio.h @@ -51,7 +51,16 @@ namespace MTS {                  CODE fumoLocalCleanup() override;                  CODE fumoLocalApply(UpdateCb& stepCb) override; +                CODE setUeModeOfOperation(UE_MODES_OF_OPERATION mode) override; +                CODE getUeModeOfOperation(UE_MODES_OF_OPERATION& mode) override; +              protected: +                enum class UE_USAGE_SETTING : uint8_t { +                    UNKNOWN_MODE = 0, // Unknown mode +                    MODE_1, // Voice centric mode +                    MODE_2 // Data centric mode +                }; +                  QuectelRadio(const std::string& sName, const std::string& sRadioPort);                  CODE getIsSimInserted(bool& bData) override; @@ -64,6 +73,9 @@ namespace MTS {                  virtual CODE removeFile(const std::string& sTargetFilename);                  virtual CODE checkFile(bool& bFilePresent, const std::string& sTargetFilename); +                virtual CODE getUeUsageSetting(UE_USAGE_SETTING& us); +                virtual CODE convertToUeUsageSetting(const std::string& sSetting, UE_USAGE_SETTING& us); +              private:                  // private variable to save old firmware versions during FOTA                  std::string m_sQuectelFirmware; | 
