summaryrefslogtreecommitdiff
path: root/include/mts/MTS_IO_CellularRadio.h
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-07-18 11:59:02 +0300
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2019-07-18 12:16:25 +0300
commitfe970f5bb77354b7507e230b1465e9178c80ee7a (patch)
treed7a840d51a65ecface536ced0c21062f4804ee98 /include/mts/MTS_IO_CellularRadio.h
parentebfa95037a98d785029dc9afe8e4aafd8c81b843 (diff)
downloadlibmts-io-fe970f5bb77354b7507e230b1465e9178c80ee7a.tar.gz
libmts-io-fe970f5bb77354b7507e230b1465e9178c80ee7a.tar.bz2
libmts-io-fe970f5bb77354b7507e230b1465e9178c80ee7a.zip
[MTS-MTQ] QuectelRadio implementation
Refactored the CellularRadio class to include base stub implementation for the "CellularRadio::getCarrierFromFirmware" and "CellularRadio::getHardwareVersionFromFirmware" methods. From now assuming that those two possibilities are not supported by the modem until otherwise specified (i.e. until the method implementation was overridden in derived class). This change was implemented after a code review.
Diffstat (limited to 'include/mts/MTS_IO_CellularRadio.h')
-rw-r--r--include/mts/MTS_IO_CellularRadio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h
index 9866d73..eecefee 100644
--- a/include/mts/MTS_IO_CellularRadio.h
+++ b/include/mts/MTS_IO_CellularRadio.h
@@ -121,8 +121,8 @@ namespace MTS {
CellularRadio(const std::string& sName, const std::string& sRadioPort);
- virtual bool getCarrierFromFirmware(const std::string& sFirmware, std::string& sCarrier) = 0;
- virtual bool getHardwareVersionFromFirmware(const std::string& sFirmware, std::string& sHardware) = 0;
+ virtual bool getCarrierFromFirmware(const std::string& sFirmware, std::string& sCarrier);
+ virtual bool getHardwareVersionFromFirmware(const std::string& sFirmware, std::string& sHardware);
virtual void getCommonNetworkStats(Json::Value& jData);