From 1a604cd64e336011dddb641269291bf794fd5118 Mon Sep 17 00:00:00 2001 From: Jakob Almqvist Date: Fri, 15 Mar 2024 09:43:45 +0100 Subject: [PATCH] [IOTE-2][IOTE-326] Add local timestamp week rollover flag --- c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h | 2 +- spec/yaml/swiftnav/sbp/system.yaml | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h b/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h index 8c5e6261b..5d0cd2d37 100644 --- a/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h +++ b/c/include/libsbp/system/MSG_GNSS_TIME_OFFSET.h @@ -61,7 +61,7 @@ typedef struct { s16 microseconds; /** - * Status flags (reserved) + * Status flags */ u8 flags; } sbp_msg_gnss_time_offset_t; diff --git a/spec/yaml/swiftnav/sbp/system.yaml b/spec/yaml/swiftnav/sbp/system.yaml index 3171abb1e..b534ec318 100644 --- a/spec/yaml/swiftnav/sbp/system.yaml +++ b/spec/yaml/swiftnav/sbp/system.yaml @@ -443,7 +443,15 @@ definitions: desc: Microseconds portion of the time offset - flags: type: u8 - desc: Status flags (reserved) + desc: Status flags + fields: + - 1-7: + desc: Reserved, set to zero + - 0: + desc: Aligned with local timestamp week rollover + values: + - 0: Not affected by local timestamp week rollover + - 1: Week number incremented on local timestamp week rollover - MSG_PPS_TIME: id: 0xFF08