fonction GetRxFreshness [SWS_TS_14198] Upstream: RS_TS_20072 libellé pas encore importé
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.
L'interface synchrone GetRxFreshness de la classe apext::tsync::FVM (définie dans apext/tsync/fvm.h) sert à TimeSync pour déterminer la valeur de fraîcheur actuelle des messages entrants [SWS_TS_14198].
L'appel requiert trois paramètres [SWS_TS_14198] :
FreshnessValueID: Identifiant numérique de la valeur de fraîcheur (std::uint16_t) [SWS_TS_14198].TruncatedFreshnessValue: Le conteneur (apext::tsync::FVContainer) avec les valeurs de fraîcheur tronquées issues du message sécurisé reçu [SWS_TS_14198].AuthVerifyAttempts: Compteur des tentatives d'authentification pour ce message depuis sa dernière réception ; la valeur commence à 0 pour la première tentative et s'incrémente à chaque tentative de vérification échouée [SWS_TS_14198].
La fonction renvoie un ara::core::Result<FVContainer> [SWS_TS_14198]. En cas de succès, celui-ci contient un apext::tsync::FVContainer avec la valeur de fraîcheur complète requise pour le calcul ultérieur de l'authentificateur par TimeSync [SWS_TS_14198]. Si la valeur de fraîcheur n'est pas disponible, une erreur récupérable est signalée avec le code d'erreur TsyncFvmErrc::kFVNotAvailable et une sémantique de retour arrière [SWS_TS_14198].
La signature est déclarée avec noexcept ; l'implémentation est spécifiée comme sûre face aux exceptions (exception safe) et sûre pour les threads (thread-safe) [SWS_TS_14198].
Ce texte a été généré par une IA sur la base de la spécification AUTOSAR R25-11.
Guide de l'implémenteur à venir (complexité 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#fbcd7279- Content hash
fbcd7279- 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-low· 2026-10-13 · Original allemand