diff options
author | Jeff Hatch <jhatch@multitech.com> | 2015-11-04 09:32:10 -0600 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2015-11-04 09:32:10 -0600 |
commit | ac3c9cbd5d19e98f6f5f4fc76d6bb01bee9e9284 (patch) | |
tree | d45cc511e0422d495fa0d4503926bf408aece3a8 /include | |
parent | 643fd4e886d43c10e7cb1765ea153b8ba790ef5f (diff) | |
parent | 98281d3bda9fae91c265e0b626782ebbaaab7bdf (diff) | |
download | libmts-io-ac3c9cbd5d19e98f6f5f4fc76d6bb01bee9e9284.tar.gz libmts-io-ac3c9cbd5d19e98f6f5f4fc76d6bb01bee9e9284.tar.bz2 libmts-io-ac3c9cbd5d19e98f6f5f4fc76d6bb01bee9e9284.zip |
Merge branch 'master' of git://git.multitech.net/libmts-io
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CE910Radio.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 7 | ||||
-rw-r--r-- | include/mts/MTS_IO_DE910Radio.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_GE910Radio.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_HE910Radio.h | 1 | ||||
-rw-r--r-- | include/mts/MTS_IO_LE910Radio.h | 1 |
6 files changed, 12 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_CE910Radio.h b/include/mts/MTS_IO_CE910Radio.h index 47444d9..58642cb 100644 --- a/include/mts/MTS_IO_CE910Radio.h +++ b/include/mts/MTS_IO_CE910Radio.h @@ -41,6 +41,7 @@ namespace MTS { CE910Radio(const std::string& sPort); virtual ~CE910Radio(){}; + CODE setRxDiversity(const Json::Value& jArgs); protected: diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index 71190c5..a90c469 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -418,6 +418,13 @@ namespace MTS { */ virtual CODE activate(const Json::Value& jArgs, UpdateCb& stepCb); + /* + * jArgs = { + * "enabled" : "RX Diversity Enabled ("0" or "1"): STRING" + * } + */ + virtual CODE setRxDiversity(const Json::Value& jArgs)=0; + virtual CODE getEcho(bool& bEnabled); virtual CODE setEcho(bool bEnabled = true); diff --git a/include/mts/MTS_IO_DE910Radio.h b/include/mts/MTS_IO_DE910Radio.h index e9e8287..9f9b9ae 100644 --- a/include/mts/MTS_IO_DE910Radio.h +++ b/include/mts/MTS_IO_DE910Radio.h @@ -41,6 +41,7 @@ namespace MTS { DE910Radio(const std::string& sPort); virtual ~DE910Radio(){}; + CODE setRxDiversity(const Json::Value& jArgs); protected: diff --git a/include/mts/MTS_IO_GE910Radio.h b/include/mts/MTS_IO_GE910Radio.h index 403e623..27efbac 100644 --- a/include/mts/MTS_IO_GE910Radio.h +++ b/include/mts/MTS_IO_GE910Radio.h @@ -41,6 +41,7 @@ namespace MTS { GE910Radio(const std::string& sPort); virtual ~GE910Radio(){}; + CODE setRxDiversity(const Json::Value& jArgs); protected: diff --git a/include/mts/MTS_IO_HE910Radio.h b/include/mts/MTS_IO_HE910Radio.h index 8c1aaa1..e6fc73c 100644 --- a/include/mts/MTS_IO_HE910Radio.h +++ b/include/mts/MTS_IO_HE910Radio.h @@ -39,6 +39,7 @@ namespace MTS { public: virtual ~HE910Radio(){}; + CODE setRxDiversity(const Json::Value& jArgs); protected: HE910Radio(const std::string& sHE910Model, const std::string& sPort); diff --git a/include/mts/MTS_IO_LE910Radio.h b/include/mts/MTS_IO_LE910Radio.h index 5391304..f46094e 100644 --- a/include/mts/MTS_IO_LE910Radio.h +++ b/include/mts/MTS_IO_LE910Radio.h @@ -41,6 +41,7 @@ namespace MTS { LE910Radio(const std::string& sLE910Model, const std::string& sPort); virtual ~LE910Radio(){}; + CODE setRxDiversity(const Json::Value& jArgs); protected: |