summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_TelitRadio.h
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-11 16:30:23 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-06-11 16:30:23 +0300
commitbce73d000b64fc8ecaf7a25041e97a1ef57a848e (patch)
tree9d6993aadb04a45d68bf483a119a2a1189ccd959 /include/mts/MTS_IO_TelitRadio.h
parentea4e0213f94a1014a0b4f0e0e43c3222eddc177a (diff)
downloadlibmts-io-bce73d000b64fc8ecaf7a25041e97a1ef57a848e.tar.gz
libmts-io-bce73d000b64fc8ecaf7a25041e97a1ef57a848e.tar.bz2
libmts-io-bce73d000b64fc8ecaf7a25041e97a1ef57a848e.zip
[MTS-MTQ] QuectelRadio implementation
Moved Telit-specific conversion between RSSI and dBm into the TelitRadio class. Quectel has MOSTLY the same conversion logic but in the case of TD-SCDMA the RSSI values may be uncompatible.
Diffstat (limited to 'include/mts/MTS_IO_TelitRadio.h')
-rw-r--r--include/mts/MTS_IO_TelitRadio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mts/MTS_IO_TelitRadio.h b/include/mts/MTS_IO_TelitRadio.h
index 7a44529..7162dfb 100644
--- a/include/mts/MTS_IO_TelitRadio.h
+++ b/include/mts/MTS_IO_TelitRadio.h
@@ -34,6 +34,10 @@ namespace MTS {
CODE getService(std::string& sService) override;
CODE getNetwork(std::string& sNetwork) override;
CODE getNetworkStatus(Json::Value& jData) override;
+
+ CODE convertSignalStrengthTodBm(const int32_t& iRssi, int32_t& dBm) override;
+ CODE convertdBmToSignalStrength(const int32_t& dBm, int32_t& iRssi) override;
+
CODE setMdn(const Json::Value& jArgs) override;
protected: