summaryrefslogtreecommitdiff
path: root/src/MTS_IO_ME910Radio.cpp
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2019-07-23 08:51:41 -0500
committerJeff Hatch <jhatch@multitech.com>2019-07-23 08:51:41 -0500
commitf6f7d0e174d2bf5eb4494e2508c17d3d7fbdc4e9 (patch)
tree4f0e44ed31f0e536835260ff5b4849f84289ee9c /src/MTS_IO_ME910Radio.cpp
parent86e572b513259e1f7164dd4e4b0f490c870bfc30 (diff)
parent0330513b8913d1d7bf14bad99d64ab002b770b7c (diff)
downloadlibmts-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.cpp8
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(),