diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 7 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE910NA1Radio.h | 4 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE910Radio.h | 3 |
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: |