summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMykola Salomatin <mykola.salomatin@globallogic.com>2022-05-04 12:40:15 +0300
committerMykola Salomatin <mykola.salomatin@globallogic.com>2022-05-04 12:40:15 +0300
commit47997c0e5aa7d32ddbba22ceead2ff553881c47c (patch)
tree7ab78bc6273ffa42305c342f1fe71d1ffa1d6779 /include
parent733ded9a96c8e9aa13c38dd223b8b585c2801bfd (diff)
downloadlibmts-io-47997c0e5aa7d32ddbba22ceead2ff553881c47c.tar.gz
libmts-io-47997c0e5aa7d32ddbba22ceead2ff553881c47c.tar.bz2
libmts-io-47997c0e5aa7d32ddbba22ceead2ff553881c47c.zip
[MTX-4445] mPower R.6.0.X: MTCAP3: LNA7D - cellular radio support GP-1548
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')
-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);
};
}
}