summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandrii.davydenko <andrii.davydenko@globallogic.com>2022-01-27 13:54:42 +0200
committerandrii.davydenko <andrii.davydenko@globallogic.com>2022-01-27 13:56:34 +0200
commit2298f64472b1052868e12d7e4e76b75731c31958 (patch)
tree1d9670b5e5a7593c1ddd56a967ede513ca9ead5b
parent284fc51a10273fb020bba3470b04b3c3483f9279 (diff)
downloadradio-query-2298f64472b1052868e12d7e4e76b75731c31958.tar.gz
radio-query-2298f64472b1052868e12d7e4e76b75731c31958.tar.bz2
radio-query-2298f64472b1052868e12d7e4e76b75731c31958.zip
[MTX-4190] mPower R.6.0: Update MODBUS slave feature to support Quectel and newer Telit radios. - GP-862
Revert changes Signed-off-by: andrii.davydenko <andrii.davydenko@globallogic.com>
-rw-r--r--main.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/main.cpp b/main.cpp
index f7e919f..369cb01 100644
--- a/main.cpp
+++ b/main.cpp
@@ -97,7 +97,6 @@ const uint32_t OPT_SUMMARY_STATIC = 0x01000000;
const uint32_t OPT_SUMMARY_NETWORK = 0x02000000;
const uint32_t OPT_CELL_MODE = 0x04000000;
const uint32_t OPT_SUPPORTED_CELL_MODE = 0x08000000;
-const uint32_t OPT_SELECTED_BANDS = 0x20000000;
int32_t g_iAuxOptions = 0;
const uint32_t AOPT_VOICE_SUPPORT = 0x00000001;
@@ -370,12 +369,6 @@ int main(int argc, char** argv) {
if (result == ICellularRadio::SUCCESS) {
printf("%s", toCompactStyledString(jValue).c_str());
}
- } else if (g_iOptions & OPT_SELECTED_BANDS) {
- Json::Value jValue;
- result = g_apRadio->getSelectedBands(jValue);
- if (result == ICellularRadio::SUCCESS) {
- printf("%s", toCompactStyledString(jValue).c_str());
- }
}
if (g_bIstty && result == ICellularRadio::CODE::SUCCESS)
@@ -669,7 +662,6 @@ void parseOptions(int argc, char** argv) {
{ "ue-mode-of-operation", no_argument,&iOption, OPT_UE_MODE_OF_OPERATION },
{ "sim-mcc-mnc", no_argument, &iOption, OPT_SIM_MCC_MNC },
{ "voice-support",no_argument, &iAuxOption, AOPT_VOICE_SUPPORT },
- { "selected-bands", no_argument, &iOption, OPT_SELECTED_BANDS },
{ 0, 0, 0, 0 } };
/* getopt_long stores the option index here. */
@@ -784,7 +776,6 @@ void printHelp(const std::string& sApp) {
printf("\t--ue-mode-of-operation\n");
printf("\t--sim-mcc-mnc\n");
printf("\t--voice-support\n");
- printf("\t--selected-bands\n");
// Applicable for LTE910-NA1 dual FW images only
// printf("\t--active-firmware\n");
printf("\n");