diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-11 16:11:14 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2019-06-11 16:26:17 +0300 |
commit | ea4e0213f94a1014a0b4f0e0e43c3222eddc177a (patch) | |
tree | 7fc5f305e38f23d69649e67001c01fb63cd4e0aa /include | |
parent | 16c34c61203dee01c8091b92df1bdf0a399af32f (diff) | |
download | libmts-io-ea4e0213f94a1014a0b4f0e0e43c3222eddc177a.tar.gz libmts-io-ea4e0213f94a1014a0b4f0e0e43c3222eddc177a.tar.bz2 libmts-io-ea4e0213f94a1014a0b4f0e0e43c3222eddc177a.zip |
[MTS-MTQ] QuectelRadio implementation
Converted the following functions to protected virtual functions:
- CellularRadio::queryLteLac
- CellularRadio::setCGREG
- CellularRadio::queryCGREGstring
Those functions are handy to fetch LAC in LTE mode for both Quectel and Telit radios.
Also fixed comments and debug messages for the mentioned functions.
Diffstat (limited to 'include')
-rw-r--r-- | include/mts/MTS_IO_CellularRadio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mts/MTS_IO_CellularRadio.h b/include/mts/MTS_IO_CellularRadio.h index c4e5b86..1572ac8 100644 --- a/include/mts/MTS_IO_CellularRadio.h +++ b/include/mts/MTS_IO_CellularRadio.h @@ -127,6 +127,10 @@ namespace MTS { 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); + virtual std::string queryLteLac(); + virtual std::string queryCGREGstring(); + virtual void setCGREG(std::string value); + class RadioBandMap : public MTS::NonCopyable { public: RadioBandMap() @@ -168,10 +172,6 @@ namespace MTS { bool m_bEchoEnabled; bool m_bEnableEchoOnClose; - - std::string queryLteLac(); - std::string queryCGREGstring(); - void setCGREG(std::string value); }; } } |