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 /src/MTS_IO_EG95Radio.cpp | |
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 'src/MTS_IO_EG95Radio.cpp')
-rw-r--r-- | src/MTS_IO_EG95Radio.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MTS_IO_EG95Radio.cpp b/src/MTS_IO_EG95Radio.cpp index f85b2c3..88f5724 100644 --- a/src/MTS_IO_EG95Radio.cpp +++ b/src/MTS_IO_EG95Radio.cpp @@ -46,15 +46,15 @@ ICellularRadio::CODE EG95Radio::setRxDiversity(const Json::Value& jArgs) { return sendBasicCommand(sCmd); } -ICellularRadio::CODE EG95Radio::getSupportedCellularModes(PREFERRED_NETWORKS &networks) { - networks = static_cast<PREFERRED_NETWORKS>(PREFERRED_NETWORK_2G | PREFERRED_NETWORK_3G | PREFERRED_NETWORK_4G); +ICellularRadio::CODE EG95Radio::getSupportedCellularModes(CELLULAR_MODES &networks) { + networks = static_cast<CELLULAR_MODES>(CELLULAR_MODE_2G | CELLULAR_MODE_3G | CELLULAR_MODE_4G); return SUCCESS; } -ICellularRadio::CODE EG95Radio::getCellularMode(PREFERRED_NETWORKS &networks) { +ICellularRadio::CODE EG95Radio::getCellularMode(CELLULAR_MODES &networks) { return FAILURE; } -ICellularRadio::CODE EG95Radio::setCellularMode(PREFERRED_NETWORKS networks) { +ICellularRadio::CODE EG95Radio::setCellularMode(CELLULAR_MODES networks) { return SUCCESS; } |