function GetRxFreshness [SWS_TS_14198] Upstream: RS_TS_20072 Wortlaut noch nicht übernommen
ara::core::Result< FVContainer > GetRxFreshness (std::uint16_t FreshnessValueID, const FVContainer &TruncatedFreshnessValue, std::uint16_t AuthVerifyAttempts) noexcept;
Used by TimeSync to obtain the current freshness value for received messages.
Die synchrone Schnittstelle GetRxFreshness der Klasse apext::tsync::FVM (definiert in apext/tsync/fvm.h) dient TimeSync dazu, den aktuellen Frischewert für eingehende Nachrichten zu ermitteln [SWS_TS_14198].
Der Aufruf erfordert drei Parameter [SWS_TS_14198]:
FreshnessValueID: Numerischer Identifikator des Frischewerts (std::uint16_t) [SWS_TS_14198].TruncatedFreshnessValue: Der Container (apext::tsync::FVContainer) mit den abgeschnittenen Frischewerten aus der empfangenen gesicherten Nachricht [SWS_TS_14198].AuthVerifyAttempts: Zähler der Authentifizierungsversuche für diese Nachricht seit deren letztem Empfang; der Wert beginnt bei 0 für den ersten Versuch und wird bei jedem fehlgeschlagenen Verifizierungsversuch inkrementiert [SWS_TS_14198].
Die Funktion gibt ein ara::core::Result<FVContainer> zurück [SWS_TS_14198]. Dieses enthält im Erfolgsfall einen apext::tsync::FVContainer mit dem vollständigen Frischewert, der für die nachfolgende Berechnung des Authentifikators durch TimeSync benötigt wird [SWS_TS_14198]. Ist der Frischewert nicht verfügbar, wird ein behebbarer Fehler mit dem Fehlercode TsyncFvmErrc::kFVNotAvailable und Rollback-Semantik zurückgemeldet [SWS_TS_14198].
Die Signatur ist mit noexcept deklariert; die Implementierung ist als ausnahmesicher (exception safe) und threadsicher (thread-safe) spezifiziert [SWS_TS_14198].
Dieser Text wurde durch eine KI auf Basis der AUTOSAR-Spezifikation R25-11 generiert.
Implementer's Guide folgt (Komplexität I1)
| Header-Datei | #include "apext/tsync/fvm.h" |
|---|---|
| Scope | class apext::tsync::FVM |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| FreshnessValueIDTruncatedFreshnessValueAuthVerifyAttempts | the identifier of the freshness value. the apext::tsync::FVContainer with the values from the received Secured message. the number of authentication verify attempts of this message since the last reception. The value is 0 for the first attempt and incremented on every unsuccessful verification attempt. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| ara::core::Result<FVContainer > | an ara::core::Result containing a ara::core::Result:: value_type containing a apext::tsync::FVContainer that holds the freshness value to be used for the calculation of the authenticator by TimeSync, or recoverable error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| TsyncFvmErrc::kFVNotAvailable | rollback_semantics the Freshness Value is not available. |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_TS_14198- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_TS_14198@rel:R25-11#cbec70a4- Content hash
cbec70a4- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_TimeSynchronization.pdf#nameddest=SWS_TS_14198
Status: valid/unmigrated
Version: rel:R25-11#5a2df49d
Versionshistorie & Revisions (1 transition, 3 revision)
- Current State
valid/unmigrated- Reason
- mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
- Campaign
2026-08-13-status-backfill- Active Version
AUTOSAR/AP/record/SWS_TS_14198@rel:R25-11#5a2df49d
Recorded Revisions (3):
- R25-11
rel:R25-11#cbec70a42026-09-30 - R24-11
rel:R24-11#8dfc9f262026-10-14 - R25-11
rel:R25-11#5a2df49d2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-medium· 2026-10-13