Developer World
Spresense SDK Library v3.2.0-ebc0364
lte_cellinfo Struct Reference

#include <lte.h>

Collaboration diagram for lte_cellinfo:

Public Attributes

bool valid
 
uint32_t phycell_id
 
uint32_t earfcn
 
uint8_t mcc [LTE_MCC_DIGIT]
 
uint8_t mnc_digit
 
uint8_t mnc [LTE_MNC_DIGIT_MAX]
 
uint8_t option
 
uint32_t gcid
 
uint16_t area_code
 
uint16_t sfn
 
int16_t rsrp
 
int16_t rsrq
 
uint16_t time_diffidx
 
uint16_t ta
 
uint8_t nr_neighbor
 
lte_neighbor_cell_tneighbors
 

Detailed Description

Definition of parameters for cell information. This is reported by cellinfo_report_cb_t

Member Data Documentation

◆ valid

bool valid

Valid flag. Definition is as below.

Refer to the following parameters only when this flag is LTE_VALID. This is because valid parameters can not be acquired when RF function is OFF and so on

◆ phycell_id

uint32_t phycell_id

Physical cell ID (1-503)

◆ earfcn

uint32_t earfcn

EARFCN (1-262143)

◆ mcc

uint8_t mcc[LTE_MCC_DIGIT]

Mobile Country Code (000-999)

◆ mnc_digit

uint8_t mnc_digit

Digit number of Mobile Network Code(2-3)

◆ mnc

uint8_t mnc[LTE_MNC_DIGIT_MAX]

Mobile Network Code (00-999)

◆ option

◆ gcid

uint32_t gcid

Global Cell ID. It can be referenced when

◆ area_code

uint16_t area_code

Tracking Area Code (1-65535). It can be referenced when

◆ sfn

uint16_t sfn

Sub Frame Number (0-1023). It can be referenced when

◆ rsrp

int16_t rsrp

RSRP in dBm (-140-0). It can be referenced when

◆ rsrq

int16_t rsrq

RSRQ in dBm (-60-0). It can be referenced when

◆ time_diffidx

uint16_t time_diffidx

Time difference index (0-4095). It can be referenced when

◆ ta

uint16_t ta

Timing Advance (0-1282). It can be referenced when

◆ nr_neighbor

uint8_t nr_neighbor

Number of neighbor cells (0-32). It can be referenced when

Attention
When using lte_get_cellinfo_sync, need to specify the number of neighbor cells to get. Then, prepare a memory area for the specified number of neighbor cells and set it to neighbors.

◆ neighbors

lte_neighbor_cell_t* neighbors

Pointer to neighbor cells. It can be referenced when

Attention
When using the lte_get_cellinfo_sync, prepare a memory area for the specified number of neighbor cells.

The documentation for this struct was generated from the following file: