Skip to main content

derive_lli

Function derive_lli 

Source
pub fn derive_lli(
    previous: Option<PreviousLock>,
    current_min_lock_ms: Option<u32>,
    half_cycle_ambiguity: bool,
) -> u8
Expand description

Derive the RINEX LLI digit for one signal cell.

Bit 0 is set when loss of lock is possible under the lock-time continuity rules. Bit 1 is the current half-cycle ambiguity flag, copied verbatim from DF420. Bit 2 is never set here because MSM does not carry the RINEX tracking mode represented by that bit.