Struct CellInfo
#[non_exhaustive]pub struct CellInfo {Show 31 fields
pub cell_type: Option<CellType>,
pub serving: Option<bool>,
pub operator_id: Option<String>,
pub nid: Option<String>,
pub sid: Option<String>,
pub base_station_id: Option<String>,
pub ref_pn: Option<String>,
pub pilot_strength: Option<u32>,
pub lac: Option<String>,
pub tac: Option<String>,
pub ci: Option<String>,
pub physical_ci: Option<String>,
pub timing_advance: Option<u32>,
pub arfcn: Option<u32>,
pub rx_level: Option<u32>,
pub frequency_fdd_ul: Option<u32>,
pub frequency_fdd_dl: Option<u32>,
pub frequency_tdd: Option<u32>,
pub uarfcn: Option<u32>,
pub psc: Option<u32>,
pub rscp: Option<f64>,
pub ecio: Option<f64>,
pub path_loss: Option<u32>,
pub cell_parameter_id: Option<u32>,
pub earfcn: Option<u32>,
pub nrarfcn: Option<u32>,
pub rsrp: Option<f64>,
pub rsrq: Option<f64>,
pub sinr: Option<f64>,
pub serving_cell_type: Option<ServingCellType>,
pub bandwidth: Option<u32>,
}Expand description
A cell that Modem.GetCellInfo reports.
The service fills only the fields that apply to the cell type. Fields that
say serving cell only apply when serving is true.
Added in ModemManager 1.20.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cell_type: Option<CellType>The access technology of the cell.
serving: Option<bool>Whether this is the serving cell or a neighbor.
operator_id: Option<String>The MCC and MNC of the operator.
nid: Option<String>The CDMA network ID in upper-case hexadecimal.
sid: Option<String>The CDMA system ID in upper-case hexadecimal.
base_station_id: Option<String>The base station ID in upper-case hexadecimal.
ref_pn: Option<String>The CDMA base station PN number in upper-case hexadecimal.
pilot_strength: Option<u32>The CDMA pilot signal strength, on the scale of the GSM SINR.
lac: Option<String>The location area code in upper-case hexadecimal.
tac: Option<String>The tracking area code in upper-case hexadecimal.
ci: Option<String>The cell identifier in upper-case hexadecimal.
physical_ci: Option<String>The physical cell ID in upper-case hexadecimal.
timing_advance: Option<u32>The timing advance of the serving cell.
arfcn: Option<u32>The GSM absolute RF channel number.
rx_level: Option<u32>The Rx level of the serving GSM cell, from 0 to 63.
frequency_fdd_ul: Option<u32>The FDD uplink frequency of the serving UMTS cell.
frequency_fdd_dl: Option<u32>The FDD downlink frequency of the serving UMTS cell.
frequency_tdd: Option<u32>The TDD frequency of the serving UMTS cell.
uarfcn: Option<u32>The UTRA absolute RF channel number.
psc: Option<u32>The primary scrambling code of a UMTS cell.
rscp: Option<f64>The received signal code power, in dBm.
ecio: Option<f64>The received energy per chip over the band power density, in dB.
path_loss: Option<u32>The path loss of the serving cell.
cell_parameter_id: Option<u32>The cell parameter ID of a TD-SCDMA cell.
earfcn: Option<u32>The E-UTRA absolute RF channel number.
nrarfcn: Option<u32>The NR absolute RF channel number.
rsrp: Option<f64>The reference signal received power, in dBm.
rsrq: Option<f64>The reference signal received quality, in dB.
sinr: Option<f64>The signal to interference and noise ratio of a 5G cell.
serving_cell_type: Option<ServingCellType>The role of the serving cell.
Added in ModemManager 1.22.
bandwidth: Option<u32>The downlink bandwidth of the carrier.
Added in ModemManager 1.22.