diff options
author | Jeff Hatch <jhatch@multitech.com> | 2022-05-04 16:09:39 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2022-05-04 16:09:39 -0500 |
commit | 9436716e2fbb28938dba10e13bc84c60105cf907 (patch) | |
tree | 7ab78bc6273ffa42305c342f1fe71d1ffa1d6779 /src/MTS_IO_EG25Radio.cpp | |
parent | 1f7987d546384b6b9ef0079dac5c903148a59210 (diff) | |
parent | 47997c0e5aa7d32ddbba22ceead2ff553881c47c (diff) | |
download | libmts-io-9436716e2fbb28938dba10e13bc84c60105cf907.tar.gz libmts-io-9436716e2fbb28938dba10e13bc84c60105cf907.tar.bz2 libmts-io-9436716e2fbb28938dba10e13bc84c60105cf907.zip |
Merge branch 'ms/MTX-4445_LNA7D_Cellular_radio_support' into 'master'
[MTX-4445] mPower R.6.0.X: MTCAP3: LNA7D - cellular radio support GP-1548
See merge request !48
Diffstat (limited to 'src/MTS_IO_EG25Radio.cpp')
-rw-r--r-- | src/MTS_IO_EG25Radio.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/MTS_IO_EG25Radio.cpp b/src/MTS_IO_EG25Radio.cpp index aa5d453..c6d1c34 100644 --- a/src/MTS_IO_EG25Radio.cpp +++ b/src/MTS_IO_EG25Radio.cpp @@ -35,17 +35,6 @@ EG25Radio::~EG25Radio() { } -ICellularRadio::CODE EG25Radio::setRxDiversity(const Json::Value& jArgs) { - /* Command string for EG25 radios: AT+QCFG="diversity",(0-1) */ - if (jArgs["enabled"].asString() != "1" && jArgs["enabled"].asString() != "0") { - return FAILURE; - } - std::string sCmd = "AT+QCFG=\"diversity\","; - sCmd += jArgs["enabled"].asString(); - - return sendBasicCommand(sCmd); -} - ICellularRadio::CODE EG25Radio::getSupportedCellularModes(CELLULAR_MODES &networks) { networks = static_cast<CELLULAR_MODES>(CELLULAR_MODE_2G | CELLULAR_MODE_3G | CELLULAR_MODE_4G); return SUCCESS; |