From bce73d000b64fc8ecaf7a25041e97a1ef57a848e Mon Sep 17 00:00:00 2001 From: Serhii Kostiuk Date: Tue, 11 Jun 2019 16:30:23 +0300 Subject: [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. --- include/mts/MTS_IO_TelitRadio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/mts/MTS_IO_TelitRadio.h') 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: -- cgit v1.2.3