Skip to main content

GPS_TIMESTAMP48_REFERENCE

Constant GPS_TIMESTAMP48_REFERENCE 

Source
pub const GPS_TIMESTAMP48_REFERENCE: u64 = _; // 176_688_000_000_000_000u64
Expand description

Reference time for un-wrapping the 48bit GPS timestamps (MTB timestamp16/timestamp32, 10ns ticks since the UNIX epoch).

Only the lower 48 bits are transmitted, which wrap every 2^48 * 10ns = 32.58 days. The upper bits are chosen such that the timestamp is the one closest to this reference. Timestamps are therefore only valid within +- 16.29 days around it.

Value: 2025-12-28 00:00:00 UTC (middle of the 2025/26 flight, 2025-12-15 - 2026-01-09) -> valid window is 2025-12-11 17:03 UTC - 2026-01-13 06:56 UTC

This MUST be changed for any data taken outside of that window (e.g. the next flight)!