diff options
author | Jeff Hatch <jhatch@multitech.com> | 2019-07-23 08:51:41 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2019-07-23 08:51:41 -0500 |
commit | f6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9 (patch) | |
tree | 4f0e44ed31f0e536835260ff5b4849f84289ee9c /src/MTS_IO_ME910Radio.cpp | |
parent | 86e572b513259e1f7164dd4e4b0f490c870bfc30 (diff) | |
parent | 0330513b8913d1d7bf14bad99d64ab002b770b7c (diff) | |
download | libmts-io-f6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9.tar.gz libmts-io-f6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9.tar.bz2 libmts-io-f6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9.zip |
Merge branch 'quectel-radio' into 'master'
Quectel radio
See merge request !1
Diffstat (limited to 'src/MTS_IO_ME910Radio.cpp')
-rw-r--r-- | src/MTS_IO_ME910Radio.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/MTS_IO_ME910Radio.cpp b/src/MTS_IO_ME910Radio.cpp index 42796e9..2b181d2 100644 --- a/src/MTS_IO_ME910Radio.cpp +++ b/src/MTS_IO_ME910Radio.cpp @@ -25,22 +25,22 @@ using namespace MTS::IO; ME910Radio::ME910Radio(const std::string& sME910Model, const std::string& sPort) -: CellularRadio(sME910Model, sPort) +: TelitRadio(sME910Model, sPort) { } -CellularRadio::CODE ME910Radio::setRxDiversity(const Json::Value& jArgs) { +ICellularRadio::CODE ME910Radio::setRxDiversity(const Json::Value& jArgs) { return FAILURE; } -CellularRadio::CODE ME910Radio::getFirmwareBuild(std::string& sFirmwareBuild) { +ICellularRadio::CODE ME910Radio::getFirmwareBuild(std::string& sFirmwareBuild) { std::string sCmd("AT#CFVR"); std::string sResult = sendCommand(sCmd); - size_t end = sResult.find(RSP_OK); + size_t end = sResult.find(ICellularRadio::RSP_OK); if (end == std::string::npos) { printWarning("%s| Unable to get firmware build number [%s]", getName().c_str(), |