summaryrefslogtreecommitdiff
path: root/include/mts
diff options
context:
space:
mode:
authorMykola Salomatin <mykola.salomatin@globallogic.com>2022-05-04 12:40:15 +0300
committerJohn Klug <john.klug@multitech.com>2022-06-17 10:26:56 -0500
commitdc05152d236dd42dd31206cf2d3f439491b73300 (patch)
tree7ab78bc6273ffa42305c342f1fe71d1ffa1d6779 /include/mts
parent117b5c87afafb24500f820942f5f6724c426ad11 (diff)
downloadlibmts-io-dc05152d236dd42dd31206cf2d3f439491b73300.tar.gz
libmts-io-dc05152d236dd42dd31206cf2d3f439491b73300.tar.bz2
libmts-io-dc05152d236dd42dd31206cf2d3f439491b73300.zip
[MTX-4445] mPower R.6.0.X: MTCAP3: LNA7D - cellular radio support GP-15481.0.29
setRxDiversity command moved to common class for Quectel radios - QuectelRadio.cpp. Add LNA7D radio support. LNA7D radio supports only 3g and 4g network modes. Add new command for enabling/disabling diversity. Retained backward compatibility with the old diversity command.
Diffstat (limited to 'include/mts')
-rw-r--r--include/mts/MTS_IO_EG25Radio.h1
-rw-r--r--include/mts/MTS_IO_EG95Radio.h1
-rw-r--r--include/mts/MTS_IO_QuectelRadio.h4
3 files changed, 4 insertions, 2 deletions
diff --git a/include/mts/MTS_IO_EG25Radio.h b/include/mts/MTS_IO_EG25Radio.h
index 46bff20..e05fa7d 100644
--- a/include/mts/MTS_IO_EG25Radio.h
+++ b/include/mts/MTS_IO_EG25Radio.h
@@ -34,7 +34,6 @@ namespace MTS {
EG25Radio(const std::string& sPort);
virtual ~EG25Radio();
- CODE setRxDiversity(const Json::Value& jArgs) override;
protected:
diff --git a/include/mts/MTS_IO_EG95Radio.h b/include/mts/MTS_IO_EG95Radio.h
index 17c413e..6fb47c8 100644
--- a/include/mts/MTS_IO_EG95Radio.h
+++ b/include/mts/MTS_IO_EG95Radio.h
@@ -34,7 +34,6 @@ namespace MTS {
EG95Radio(const std::string& sPort);
virtual ~EG95Radio();
- CODE setRxDiversity(const Json::Value& jArgs) override;
protected:
diff --git a/include/mts/MTS_IO_QuectelRadio.h b/include/mts/MTS_IO_QuectelRadio.h
index c54e560..bd312b8 100644
--- a/include/mts/MTS_IO_QuectelRadio.h
+++ b/include/mts/MTS_IO_QuectelRadio.h
@@ -83,6 +83,8 @@ namespace MTS {
static bool isContainsSignChar(const std::string& str);
+ CODE setRxDiversity(const Json::Value& jArgs) override;
+
private:
// private variable to save old firmware versions during FOTA
std::string m_sQuectelFirmware;
@@ -117,6 +119,8 @@ namespace MTS {
return vector[index];
}
}
+
+ CODE isDivctlSupported(bool& bSupported);
};
}
}