@squawk
    Preparing search index...

    Function decodeAirborneCprWithReference

    • Resolves an absolute position from a single airborne CPR frame plus a known nearby reference position, per DO-260B SS A.1.7.5. The reference must be within roughly 180 NM of the true position - typically the aircraft's own last known position, or the receiver's location as a fallback for the first message from a new aircraft.

      Parameters

      • format: "even" | "odd"

        Whether frame is an even (F=0) or odd (F=1) format frame.

      • frame: CprPosition

        Raw CPR fields from the frame.

      • reference: CprReference

        A position known to be near the frame's true position.

      Returns Position

      The resolved position.