summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_TelitRadio.h
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-08-13 08:02:32 -0500
committerJeff Hatch <jhatch@multitech.com>2019-08-13 08:02:32 -0500
commit07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8 (patch)
treed1b30c78bbb2e81576cf193a7be809c0a2e0676b /include/mts/MTS_IO_TelitRadio.h
parentf6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9 (diff)
parent4e5c4eb9d3b9a8974429810ebe5afc3387753643 (diff)
downloadlibmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.tar.gz
libmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.tar.bz2
libmts-io-07eb755bbdc2700f31ff4e5fd9a7ac04a14e69e8.zip
Merge branch 'MTX-2891-mpower-2g-3g-4g' into 'master'
Mtx 2891 mpower 2g 3g 4g See merge request !2
Diffstat (limited to 'include/mts/MTS_IO_TelitRadio.h')
-rw-r--r--include/mts/MTS_IO_TelitRadio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h
index 6382696..b81cd7d 100644
--- a/include/mts/MTS_IO_TelitRadio.h
+++ b/include/mts/MTS_IO_TelitRadio.h
@@ -39,8 +39,9 @@ namespace MTS {
CODE convertdBmToSignalStrength(const int32_t& dBm, int32_t& iRssi) override;
CODE setMdn(const Json::Value& jArgs) override;
- CODE getRadioNetworkMode(RADIO_NETWORK_MODE &mode) override;
- CODE setRadioNetworkMode(RADIO_NETWORK_MODE mode) override;
+
+ CODE getSupportedCellularModes(CELLULAR_MODES &networks) override;
+ CODE setCellularMode(CELLULAR_MODES networks) override;
protected:
TelitRadio(const std::string& sName, const std::string& sRadioPort);
@@ -53,6 +54,7 @@ namespace MTS {
private:
virtual CODE getSimLockAttempts(int& iAttemptsPin, int& iAttemptsPuk, const std::string& sLockStatus);
+ static ICellularRadio::CELLULAR_MODES preferredNetwork(CELLULAR_MODES prefNetwork, int wds);
};
}