static void Testle_mrc_GetStateAndQual()
{
uint32_t quality;
if (res == LE_OK)
{
}
if (res == LE_OK)
{
}
}
static void Testle_mrc_GetSignalMetrics()
{
int32_t rxLevel = 0;
uint32_t er = 0;
int32_t ecio = 0;
int32_t rscp = 0;
int32_t sinr = 0;
int32_t rsrq = 0;
int32_t rsrp = 0;
int32_t snr = 0;
int32_t io = 0;
LE_INFO(
"RAT of signal metrics is %d",rat);
switch(rat)
{
LE_INFO(
"GSM metrics rxLevel.%ddBm, er.%d", rxLevel, er);
break;
LE_INFO(
"UMTS metrics rxLevel.%ddBm, er.%d, ecio.%010.1fdB, rscp.%ddBm, sinr.%ddB",
rxLevel, er, ((double)ecio/10), rscp, sinr);
break;
LE_INFO(
"LTE metrics rxLevel.%ddBm, er.%d, rsrq.%010.1fdB, " "rsrp.%010.1fdBm, snr.%010.1fdB",
rxLevel, er, ((double)rsrq/10), ((double)rsrp/10), ((double)snr/10));
break;
LE_INFO(
"CDMA metrics rxLevel.%ddBm, er.%d, ecio.%010.1fdB, " "sinr.%ddB, io.%ddBm",
rxLevel, er, ((double)ecio/10), sinr, io);
break;
default:
break;
}
}