mirror of https://github.com/PentHertz/srsLTE.git
Adding band information for NBIoT
This commit is contained in:
parent
86a921c94a
commit
8479ae4791
|
@ -247,7 +247,7 @@ int main(int argc, char** argv)
|
|||
cell.base.cp = SRSRAN_CP_NORM;
|
||||
|
||||
cellog_fifo = open(fifo_file, O_WRONLY);
|
||||
sprintf(logstr, "[CellInfo]:CID=%d;DL_EARFCN=%d;FREQ=%.1f MHz;POWER=%.1f dBm\n", cell.n_id_ncell, channels[freq].id, channels[freq].fd, srsran_convert_power_to_dB(found_cells[i].peak));
|
||||
sprintf(logstr, "[CellInfo]:CID=%d;DL_EARFCN=%d;FREQ=%.1f MHz;BAND=%d;POWER=%.1f dBm\n", cell.n_id_ncell, channels[freq].id, channels[freq].fd, band,srsran_convert_power_to_dB(found_cells[i].peak));
|
||||
write(cellog_fifo, logstr, strlen(logstr)+1);
|
||||
close(cellog_fifo);
|
||||
|
||||
|
|
Loading…
Reference in New Issue