diff options
author | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-06-06 14:45:58 +0300 |
---|---|---|
committer | Maksym Telychko <maksym.telychko@globallogic.com> | 2019-06-06 14:45:58 +0300 |
commit | 53efcef2e2f521135b323e194c45f1d9fa7b5d5d (patch) | |
tree | 1212563b63ade85fb58d81a67168826cc36e0c31 /src/MTS_IO_LE910Radio.cpp | |
parent | 86e572b513259e1f7164dd4e4b0f490c870bfc30 (diff) | |
download | libmts-io-53efcef2e2f521135b323e194c45f1d9fa7b5d5d.tar.gz libmts-io-53efcef2e2f521135b323e194c45f1d9fa7b5d5d.tar.bz2 libmts-io-53efcef2e2f521135b323e194c45f1d9fa7b5d5d.zip |
[MTS-MTQ] refactoring: namespace usage
Using identificators in appropriate namespace
Diffstat (limited to 'src/MTS_IO_LE910Radio.cpp')
-rw-r--r-- | src/MTS_IO_LE910Radio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MTS_IO_LE910Radio.cpp b/src/MTS_IO_LE910Radio.cpp index 76ccae2..f383b68 100644 --- a/src/MTS_IO_LE910Radio.cpp +++ b/src/MTS_IO_LE910Radio.cpp @@ -38,7 +38,7 @@ LE910Radio::LE910Radio(const std::string& sLE910Model, const std::string& sPort) } -CellularRadio::CODE LE910Radio::setRxDiversity(const Json::Value& jArgs) { +LE910Radio::CODE LE910Radio::setRxDiversity(const Json::Value& jArgs) { /* Command string for LAT1,LVW2,LEU1 radios: "AT#RXDIV=" */ /* Setting needs to append ",1" to the 0/1 value */ if (jArgs["enabled"].asString() != "1" && jArgs["enabled"].asString() != "0") @@ -49,10 +49,10 @@ CellularRadio::CODE LE910Radio::setRxDiversity(const Json::Value& jArgs) { sCmd += jArgs["enabled"].asString(); sCmd += ",1"; - return CellularRadio::sendBasicCommand(sCmd); + return sendBasicCommand(sCmd); } -CellularRadio::CODE LE910Radio::getModemLocation(std::string& sLocation) { +LE910Radio::CODE LE910Radio::getModemLocation(std::string& sLocation) { const std::string& whitespace = " \t"; printTrace("LE910Radio getModemLocation"); std::string sCmd("AT$GPSACP"); |