diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-11 15:59:49 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-11 16:26:17 +0300 |
commit | 16c34c61203dee01c8091b92df1bdf0a399af32f (patch) | |
tree | 0c1df7ca8dbe4229e67c87ab77717846016b81ea /include/mts | |
parent | f335cec14c262b22f8d9f84e528917d7b1a53fa5 (diff) | |
download | libmts-io-16c34c61203dee01c8091b92df1bdf0a399af32f.tar.gz libmts-io-16c34c61203dee01c8091b92df1bdf0a399af32f.tar.bz2 libmts-io-16c34c61203dee01c8091b92df1bdf0a399af32f.zip |
[MTS-MTQ] QuectelRadio implementation
Removed Telit-specific implementation of the getCarrierFromFirmware and
getHardwareVersionFromFirmware out of the QuectelRadio class.
BTW, it's still present in the TelitRadio class.
Diffstat (limited to 'include/mts')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index 1576588..c4e5b86 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -119,9 +119,11 @@ namespace MTS { CellularRadio(const std::string& sName, const std::string& sRadioPort); - virtual bool getCarrierFromFirmware(const std::string& sFirmware, std::string& sCarrier); - virtual bool getHardwareVersionFromFirmware(const std::string& sFirmware, std::string& sHardware); + virtual bool getCarrierFromFirmware(const std::string& sFirmware, std::string& sCarrier) = 0; + virtual bool getHardwareVersionFromFirmware(const std::string& sFirmware, std::string& sHardware) = 0; + virtual void getCommonNetworkStats(Json::Value& jData); + void initMipProfile(Json::Value& jData); bool splitAndAssign(const std::string& sLine, const std::string& sKey, Json::Value& jParent, const std::string& sJsonKey, Json::ValueType eType = Json::ValueType::stringValue); |