diff options
author | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-07-30 10:47:36 +0300 |
---|---|---|
committer | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-07-30 10:47:36 +0300 |
commit | d8b526a82a9b4575adf7dd0d8451d95b6984b02f (patch) | |
tree | 1f019b1a9a15395f4602009f1bc21bd237770bf1 /include/mts/MTS_IO_ICellularRadio.h | |
parent | 5ee7664dde53f71fd245db530f985f10f111b28b (diff) | |
download | libmts-io-d8b526a82a9b4575adf7dd0d8451d95b6984b02f.tar.gz libmts-io-d8b526a82a9b4575adf7dd0d8451d95b6984b02f.tar.bz2 libmts-io-d8b526a82a9b4575adf7dd0d8451d95b6984b02f.zip |
MTX-2891 mpower 2-3-4g switch refactoring: enums
Diffstat (limited to 'include/mts/MTS_IO_ICellularRadio.h')
-rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index c6dae6c..ce1a91e 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -68,12 +68,12 @@ namespace MTS { RADIO_NETWORK_MODE_LTE_ONLY }; - enum PREFERRED_NETWORKS : uint8_t { - PREFERRED_NETWORK_NA = 0, // NOT AVAILABLE - PREFERRED_NETWORK_2G = 1 << 0, // GSM - PREFERRED_NETWORK_3G = 1 << 1, // WCDMA - PREFERRED_NETWORK_4G = 1 << 2, // LTE - PREFERRED_NETWORK_5G = 1 << 3 // 5G + enum CELLULAR_MODES : uint8_t { + CELLULAR_MODE_NA = 0, // NOT AVAILABLE + CELLULAR_MODE_2G = 1 << 0, // GSM + CELLULAR_MODE_3G = 1 << 1, // WCDMA + CELLULAR_MODE_4G = 1 << 2, // LTE + CELLULAR_MODE_5G = 1 << 3 // 5G }; static CODE convertModelToType(const std::string& sModel, std::string& sType); @@ -228,9 +228,9 @@ namespace MTS { virtual CODE getImsi(std::string& sImsi) = 0; virtual CODE getSimStatus(std::string& sSimStatus) = 0; - virtual CODE getSupportedCellularModes(PREFERRED_NETWORKS &networks) = 0; - virtual CODE getCellularMode(PREFERRED_NETWORKS &networks) = 0; - virtual CODE setCellularMode(PREFERRED_NETWORKS networks) = 0; + virtual CODE getSupportedCellularModes(CELLULAR_MODES &networks) = 0; + virtual CODE getCellularMode(CELLULAR_MODES &networks) = 0; + virtual CODE setCellularMode(CELLULAR_MODES networks) = 0; /** * @brief getSimStatusSummary - get summary on the SIM card status |