static void Testle_mrc_GetNeighboringCellsInfo
(
void
)
{
le_mrc_NeighborCellsRef_t ngbrRef;
le_mrc_CellInfoRef_t cellRef;
uint32_t i = 0;
uint32_t cid = 0;
uint32_t lac = 0;
int32_t rxLevel = 0;
le_mrc_Rat_t rat = 0;
int32_t ecio = 0;
int32_t intraRsrp = 0;
int32_t intraRsrq = 0;
int32_t interRsrp = 0;
int32_t interRsrq = 0;
LE_INFO(
"Start Testle_mrc_GetNeighborCellsInfo");
if (ngbrRef)
{
i = 0;
LE_INFO(
"Cell #%d, cid.%d, lac.%d, rxLevel.%ddBm, RAT.%d", i, cid, lac, rxLevel, rat);
switch(rat)
{
case LE_MRC_RAT_UMTS:
LE_INFO(
"Cell #%d, UMTS EcIo.%010.1fdB", i, ((
double)ecio/10));
break;
case LE_MRC_RAT_LTE:
LE_INFO(
"Cell #%d, LTE Intra-RSRQ.%010.1fdB, Intra-RSRP.%010.1fdBm, " "Inter-RSRQ.%010.1fdB, Inter-RSRP.%010.1fdBm",
i, ((double)intraRsrq/10), ((double)intraRsrp/10),
((double)interRsrq/10), ((double)interRsrp/10));
break;
default:
LE_INFO(
"Nothing more to display");
break;
}
{
i++;
LE_INFO(
"Cell #%d, cid.%d, lac.%d, rxLevel.%ddBm, RAT.%d", i, cid, lac, rxLevel, rat);
switch(rat)
{
case LE_MRC_RAT_UMTS:
LE_INFO(
"Cell #%d, UMTS EcIo.%010.1fdB", i, ((
double)ecio/10));
break;
case LE_MRC_RAT_LTE:
LE_INFO(
"Cell #%d, LTE Intra-RSRQ.%010.1fdB, Intra-RSRP.%010.1fdBm, " "Inter-RSRQ.%010.1fdB, Inter-RSRP.%010.1fdBm",
i, ((double)intraRsrq/10), ((double)intraRsrp/10),
((double)interRsrq/10), ((double)interRsrp/10));
break;
default:
LE_INFO(
"Nothing more to display");
break;
}
}
}
}