diff options
author | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-07-29 13:27:29 +0300 |
---|---|---|
committer | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-07-29 13:27:29 +0300 |
commit | 5ee7664dde53f71fd245db530f985f10f111b28b (patch) | |
tree | e79cf811dd79d7a32974e3eda419aa6fcc8258ba /src/MTS_IO_TelitRadio.cpp | |
parent | 6c92f7176e69daaa56f8274f0059ccf70beb4fe8 (diff) | |
download | libmts-io-5ee7664dde53f71fd245db530f985f10f111b28b.tar.gz libmts-io-5ee7664dde53f71fd245db530f985f10f111b28b.tar.bz2 libmts-io-5ee7664dde53f71fd245db530f985f10f111b28b.zip |
MTX-2891 mpower 2-3-4g switch refactoring: method names
Diffstat (limited to 'src/MTS_IO_TelitRadio.cpp')
-rw-r--r-- | src/MTS_IO_TelitRadio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MTS_IO_TelitRadio.cpp b/src/MTS_IO_TelitRadio.cpp index 2750b98..12776f8 100644 --- a/src/MTS_IO_TelitRadio.cpp +++ b/src/MTS_IO_TelitRadio.cpp @@ -666,7 +666,7 @@ ICellularRadio::CODE TelitRadio::getSimLockAttempts(int& iAttemptsPin, int& iAtt return SUCCESS; } -ICellularRadio::CODE TelitRadio::getAvailablePreferredNetworks(PREFERRED_NETWORKS &networks) { +ICellularRadio::CODE TelitRadio::getSupportedCellularModes(PREFERRED_NETWORKS &networks) { networks = PREFERRED_NETWORK_NA; std::string sCmd("AT+WS46=?"); std::string cmdResult = sendCommand(sCmd); @@ -719,7 +719,7 @@ ICellularRadio::CODE TelitRadio::getAvailablePreferredNetworks(PREFERRED_NETWORK return SUCCESS; } -ICellularRadio::CODE TelitRadio::getPreferredNetworks(PREFERRED_NETWORKS &networks) { +ICellularRadio::CODE TelitRadio::getCellularMode(PREFERRED_NETWORKS &networks) { networks = PREFERRED_NETWORK_NA; std::string sCmd("AT+WS46?"); std::string cmdResult = sendCommand(sCmd); @@ -736,7 +736,7 @@ ICellularRadio::CODE TelitRadio::getPreferredNetworks(PREFERRED_NETWORKS &networ return FAILURE; } -ICellularRadio::CODE TelitRadio::setPreferredNetworks(PREFERRED_NETWORKS networks) { +ICellularRadio::CODE TelitRadio::setCellularMode(PREFERRED_NETWORKS networks) { int wds = 0; // 3GPP TS 27.007 // https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=1515 |