diff options
-rw-r--r-- | main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; } |