summaryrefslogtreecommitdiff
path: root/src/MTS_IO_TelitRadio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MTS_IO_TelitRadio.cpp')
-rw-r--r--src/MTS_IO_TelitRadio.cpp6
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