summaryrefslogtreecommitdiff
path: root/include/mts
diff options
context:
space:
mode:
authorJeff Hatch <Jeff.Hatch@multitech.com>2017-06-02 16:22:48 -0500
committerJeff Hatch <Jeff.Hatch@multitech.com>2017-06-02 16:22:48 -0500
commitcb427be9a092b0968aee1a42a2bc805735c9c8f2 (patch)
treea8f353c619192e1ad5a018c1cdc9dc992cdc64a5 /include/mts
parent646b36e1e1f26e01b4675e2265ee83a5aca55cf2 (diff)
downloadlibmts-io-cb427be9a092b0968aee1a42a2bc805735c9c8f2.tar.gz
libmts-io-cb427be9a092b0968aee1a42a2bc805735c9c8f2.tar.bz2
libmts-io-cb427be9a092b0968aee1a42a2bc805735c9c8f2.zip
Add AT#FWSWITCH command for LNA radio support in radio-query and radio-cmd1.0.1
Diffstat (limited to 'include/mts')
-rw-r--r--include/mts/MTS_IO_CellularRadio.h7
-rw-r--r--include/mts/MTS_IO_LE910NA1Radio.h4
-rw-r--r--include/mts/MTS_IO_LE910Radio.h3
3 files changed, 13 insertions, 1 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h
index 1d7491f..9d93162 100644
--- a/include/mts/MTS_IO_CellularRadio.h
+++ b/include/mts/MTS_IO_CellularRadio.h
@@ -424,6 +424,13 @@ namespace MTS {
* }
*/
virtual CODE setRxDiversity(const Json::Value& jArgs)=0;
+ /*
+ * jArgs = {
+ * "fwid" : "Firmware Image To Be Enabled: STRING"
+ * }
+ */
+ virtual CODE setActiveFirmware(const Json::Value& jArgs);
+ virtual CODE getActiveFirmware(std::string& sFwId);
virtual CODE getEcho(bool& bEnabled);
virtual CODE setEcho(bool bEnabled = true);
diff --git a/include/mts/MTS_IO_LE910NA1Radio.h b/include/mts/MTS_IO_LE910NA1Radio.h
index d9e9694..307bfe5 100644
--- a/include/mts/MTS_IO_LE910NA1Radio.h
+++ b/include/mts/MTS_IO_LE910NA1Radio.h
@@ -40,6 +40,10 @@ namespace MTS {
LE910NA1Radio(const std::string& sPort);
virtual ~LE910NA1Radio(){};
+ virtual CODE setActiveFirmware(const Json::Value& jArgs);
+
+ virtual CODE getActiveFirmware(std::string& sFwId);
+
protected:
private:
diff --git a/include/mts/MTS_IO_LE910Radio.h b/include/mts/MTS_IO_LE910Radio.h
index f46094e..6b77607 100644
--- a/include/mts/MTS_IO_LE910Radio.h
+++ b/include/mts/MTS_IO_LE910Radio.h
@@ -41,7 +41,8 @@ namespace MTS {
LE910Radio(const std::string& sLE910Model, const std::string& sPort);
virtual ~LE910Radio(){};
- CODE setRxDiversity(const Json::Value& jArgs);
+
+ CODE setRxDiversity(const Json::Value& jArgs);
protected: