summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-05 10:34:19 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-05 10:34:19 -0500
commitc34ebcd0df9c5bdbeb5638e9a5498cbee6bab628 (patch)
tree727ca1ecf1b91033dacd37447f6d70040c94eff4 /include
parentb3a9a71afdb0d6f4f104543cedba89d011ca68df (diff)
parentc9b6389ac4e53315e7d543091c821ea4b9771ed3 (diff)
downloadlibmts-io-c34ebcd0df9c5bdbeb5638e9a5498cbee6bab628.tar.gz
libmts-io-c34ebcd0df9c5bdbeb5638e9a5498cbee6bab628.tar.bz2
libmts-io-c34ebcd0df9c5bdbeb5638e9a5498cbee6bab628.zip
Merge branch 'sk/quectel-oma-dm' into 'mpower-5.2-lna7'
[GP-651] LNA7: Allow to start the OMA DM procedure when it is required See merge request !22
Diffstat (limited to 'include')
-rw-r--r--include/mts/MTS_IO_CellularRadio.h1
-rw-r--r--include/mts/MTS_IO_ICellularRadio.h3
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h
index 56506af..7f4ed2b 100644
--- a/include/mts/MTS_IO_CellularRadio.h
+++ b/include/mts/MTS_IO_CellularRadio.h
@@ -100,6 +100,7 @@ namespace MTS {
CODE updateFumo(const Json::Value& jArgs, UpdateCb& stepCb) override;
CODE resetHfa(const Json::Value& jArgs, UpdateCb& stepCb) override;
CODE activate(const Json::Value& jArgs, UpdateCb& stepCb) override;
+ CODE startOmaDm(UpdateCb& stepCb) override;
CODE setActiveFirmware(const Json::Value& jArgs) override;
CODE getActiveFirmware(std::string& sFwId) override;
CODE getEcho(bool& bEnabled) override;
diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h
index 58d5076..c301191 100644
--- a/include/mts/MTS_IO_ICellularRadio.h
+++ b/include/mts/MTS_IO_ICellularRadio.h
@@ -431,6 +431,9 @@ namespace MTS {
* "fwid" : "Firmware Image To Be Enabled: STRING"
* }
*/
+
+ virtual CODE startOmaDm(UpdateCb& stepCb) = 0;
+
virtual CODE setActiveFirmware(const Json::Value& jArgs) = 0;
virtual CODE getActiveFirmware(std::string& sFwId) = 0;
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index df3b5b5..1dc45cd 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -41,6 +41,7 @@ namespace MTS {
CODE convertdBmToSignalStrength(const int32_t& dBm, int32_t& iRssi) override;
CODE setMdn(const Json::Value& jArgs) override;
+ CODE startOmaDm(ICellularRadio::UpdateCb& stepCb) override;
protected:
QuectelRadio(const std::string& sName, const std::string& sRadioPort);