pub struct MeasExtraChannel {
pub rx_channel: u8,
pub signal_type: SignalType,
pub cum_loss_cont: u8,
pub info: u8,
/* private fields */
}Expand description
MeasExtra channel information
Fields§
§rx_channel: u8Receiver channel
signal_type: SignalTypeSignal type (decoded)
cum_loss_cont: u8Cumulative loss of continuity
info: u8Info flags
Implementations§
Source§impl MeasExtraChannel
impl MeasExtraChannel
Sourcepub fn signal_type_raw(&self) -> u8
pub fn signal_type_raw(&self) -> u8
Get raw signal type value
Sourcepub fn signal_number(&self) -> u8
pub fn signal_number(&self) -> u8
Get decoded global SBF signal number
Sourcepub fn antenna_id(&self) -> u8
pub fn antenna_id(&self) -> u8
Get antenna ID from the Type field (bits 5-7)
Sourcepub fn mp_correction_m(&self) -> f64
pub fn mp_correction_m(&self) -> f64
Multipath correction in meters
Sourcepub fn smoothing_correction_m(&self) -> f64
pub fn smoothing_correction_m(&self) -> f64
Smoothing correction in meters
Sourcepub fn code_var_m2(&self) -> f64
pub fn code_var_m2(&self) -> f64
Code variance in m^2
Sourcepub fn code_var_m2_opt(&self) -> Option<f64>
pub fn code_var_m2_opt(&self) -> Option<f64>
Code variance in m^2, or None when unavailable.
Sourcepub fn code_var_raw(&self) -> u16
pub fn code_var_raw(&self) -> u16
Raw code variance field from the SBF block.
Sourcepub fn carrier_var_cycles2(&self) -> f64
pub fn carrier_var_cycles2(&self) -> f64
Carrier variance in cycles^2
Sourcepub fn carrier_var_cycles2_opt(&self) -> Option<f64>
pub fn carrier_var_cycles2_opt(&self) -> Option<f64>
Carrier variance in cycles^2, or None when unavailable.
Sourcepub fn carrier_var_raw(&self) -> u16
pub fn carrier_var_raw(&self) -> u16
Raw carrier variance field from the SBF block.
Sourcepub fn lock_time_seconds(&self) -> f64
pub fn lock_time_seconds(&self) -> f64
Lock time in seconds
Sourcepub fn lock_time_seconds_opt(&self) -> Option<f64>
pub fn lock_time_seconds_opt(&self) -> Option<f64>
Lock time in seconds, or None when unavailable.
Sourcepub fn lock_time_raw(&self) -> u16
pub fn lock_time_raw(&self) -> u16
Raw lock time value
Sourcepub fn car_mp_correction_raw(&self) -> Option<i8>
pub fn car_mp_correction_raw(&self) -> Option<i8>
Raw carrier multipath correction in units of 1/512 cycles
Sourcepub fn car_mp_correction_cycles(&self) -> Option<f64>
pub fn car_mp_correction_cycles(&self) -> Option<f64>
Carrier multipath correction in cycles (when present)
Sourcepub fn cn0_high_res_dbhz_offset(&self) -> Option<f64>
pub fn cn0_high_res_dbhz_offset(&self) -> Option<f64>
C/N0 high-resolution extension in dB-Hz offset (rev 3+, bits 0-2)
Trait Implementations§
Source§impl Clone for MeasExtraChannel
impl Clone for MeasExtraChannel
Source§fn clone(&self) -> MeasExtraChannel
fn clone(&self) -> MeasExtraChannel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more