summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index fdb7cd8..f6aa1ae 100644
--- a/main.cpp
+++ b/main.cpp
@@ -516,6 +516,14 @@ Json::Value getStaticData() {
jData[MTS::IO::ICellularRadio::KEY_MIP] = jMip;
}
+ std::string sSupportedCellModes(ICellularRadio::VALUE_UNKNOWN);
+ ICellularRadio::CELLULAR_MODES supportedCellModes;
+
+ if(g_apRadio->getSupportedCellularModes(supportedCellModes) == ICellularRadio::SUCCESS) {
+ sSupportedCellModes = cellularModeStr(supportedCellModes).c_str();
+ }
+ jData[MTS::IO::ICellularRadio::KEY_SUPPORTED_CELL_MODES] = sSupportedCellModes;
+
return jData;
}