From 04b90430c91f4257ebeff3bcccbe8c5d7413e7ae Mon Sep 17 00:00:00 2001 From: "mykola.salomatin" Date: Fri, 29 May 2020 11:44:57 +0300 Subject: mPower Oct20: L4G1 libmts-io support --- src/MTS_IO_EG95Radio.cpp | 40 +--------------------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) (limited to 'src/MTS_IO_EG95Radio.cpp') diff --git a/src/MTS_IO_EG95Radio.cpp b/src/MTS_IO_EG95Radio.cpp index f1c040a..296f183 100644 --- a/src/MTS_IO_EG95Radio.cpp +++ b/src/MTS_IO_EG95Radio.cpp @@ -18,14 +18,8 @@ * */ - #include -#include - -#include -#include - using namespace MTS::IO; const std::string EG95Radio::MODEL_NAME("EG95"); @@ -54,36 +48,4 @@ ICellularRadio::CODE EG95Radio::setRxDiversity(const Json::Value& jArgs) { ICellularRadio::CODE EG95Radio::getSupportedCellularModes(CELLULAR_MODES &networks) { networks = static_cast(CELLULAR_MODE_2G | CELLULAR_MODE_3G | CELLULAR_MODE_4G); return SUCCESS; -} - -ICellularRadio::CODE EG95Radio::setCellularMode(CELLULAR_MODES networks) { - std::string prefNet; - unsigned int prefOnly = 0, prefCount = 0; - for (int i = sizeof(networks)*CHAR_BIT-1; i>=0; --i){ - switch (1<