@squawk
    Preparing search index...

    Interface AircraftOperationalStatus

    Decoded ADS-B Aircraft Operational Status (BDS 6,5, type code 31) - capability/operational mode codes, ADS-B version, and navigation integrity/accuracy fields, per RTCA DO-260B section 2.2.3.2.7.2.

    interface AircraftOperationalStatus {
        adsbVersion: number;
        capabilityClassCode: number;
        headingReference: "true" | "magnetic";
        navAccuracyCategoryPosition: number;
        nicBaro: boolean | undefined;
        nicSupplementA: boolean;
        operationalModeCode: number;
        silSupplementPerHour: boolean | undefined;
        sourceIntegrityLevel: number;
        surface: boolean;
    }
    Index
    adsbVersion: number

    The ADS-B version this message was encoded to (0, 1, or 2 in practice). Gates whether nicBaro/silSupplementPerHour are populated, and how capabilityClassCode/operationalModeCode should be interpreted.

    capabilityClassCode: number

    Raw 16-bit Capability Class Code field. Its sub-field breakdown depends on both surface and adsbVersion; not decoded further by this package - see RTCA DO-260B section 2.2.3.2.7.2.1 (or DO-260/DO-260A for earlier versions).

    headingReference: "true" | "magnetic"

    Heading/track reference direction.

    navAccuracyCategoryPosition: number

    Navigation Accuracy Category for Position, 0-15 (higher is more accurate).

    nicBaro: boolean | undefined

    Whether the reported altitude source meets the Navigation Integrity Category barometric requirement. Only populated for an airborne report on ADS-B version 1 or 2 - undefined otherwise (version 0 has no defined meaning for this bit, and surface reports do not carry it).

    nicSupplementA: boolean

    Navigation Integrity Category Supplement-A.

    operationalModeCode: number

    Raw 16-bit Operational Mode Code field. Its sub-field breakdown depends on both surface and adsbVersion; not decoded further by this package - see RTCA DO-260B section 2.2.3.2.7.2.2 (or DO-260/DO-260A for earlier versions).

    silSupplementPerHour: boolean | undefined

    Whether the Source Integrity Level is based on a per-hour probability (true) rather than a per-sample probability (false). Only populated on ADS-B version 2 - undefined otherwise.

    sourceIntegrityLevel: number

    Source Integrity Level, 0-3 (higher is more reliable).

    surface: boolean

    Whether this report describes a surface (on-ground) aircraft, from the 3-bit subtype field (1 = surface; only 0 and 1 are defined, so anything else reports as false).