summaryrefslogtreecommitdiff
path: root/src/MTS_IO_EG95Radio.cpp
diff options
context:
space:
mode:
authorMaksym Telychko <maksym.telychko@globallogic.com>2019-07-30 10:47:36 +0300
committerMaksym Telychko <maksym.telychko@globallogic.com>2019-07-30 10:47:36 +0300
commitd8b526a82a9b4575adf7dd0d8451d95b6984b02f (patch)
tree1f019b1a9a15395f4602009f1bc21bd237770bf1 /src/MTS_IO_EG95Radio.cpp
parent5ee7664dde53f71fd245db530f985f10f111b28b (diff)
downloadlibmts-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.cpp8
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;
}