फ़ंक्शन GetRxFreshness [SWS_TS_14198] Upstream: RS_TS_20072 पाठ अभी आयात नहीं हुआ
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.
क्लास apext::tsync::FVM का तुल्यकालिक इंटरफ़ेस GetRxFreshness (apext/tsync/fvm.h में परिभाषित) TimeSync द्वारा आने वाले संदेशों के लिए वर्तमान फ्रेशनेस मान निर्धारित करने के लिए उपयोग किया जाता है [SWS_TS_14198]।
कॉल के लिए तीन पैरामीटर आवश्यक हैं [SWS_TS_14198]:
FreshnessValueID: फ्रेशनेस मान का संख्यात्मक पहचानकर्ता (std::uint16_t) [SWS_TS_14198]।TruncatedFreshnessValue: प्राप्त सुरक्षित संदेश से कटे हुए फ्रेशनेस मानों वाला कंटेनर (apext::tsync::FVContainer) [SWS_TS_14198]।AuthVerifyAttempts: इस संदेश के अंतिम बार प्राप्त होने के बाद से इसके प्रमाणीकरण प्रयासों का काउंटर; मान पहले प्रयास के लिए 0 से शुरू होता है और प्रत्येक असफल सत्यापन प्रयास के साथ बढ़ाया जाता है [SWS_TS_14198]।
फ़ंक्शन एक ara::core::Result<FVContainer> लौटाता है [SWS_TS_14198]। सफलता के मामले में इसमें पूर्ण फ्रेशनेस मान के साथ एक apext::tsync::FVContainer होता है, जिसकी आवश्यकता TimeSync द्वारा प्रमाणक की बाद की गणना के लिए होती है [SWS_TS_14198]। यदि फ्रेशनेस मान उपलब्ध नहीं है, तो त्रुटि कोड TsyncFvmErrc::kFVNotAvailable और रोलबैक सिमेंटिक्स के साथ एक पुनरुद्धार योग्य त्रुटि (recoverable error) की रिपोर्ट की जाती है [SWS_TS_14198]।
हस्ताक्षर को noexcept के साथ घोषित किया गया है; कार्यान्वयन को अपवाद-सुरक्षित (exception safe) और थ्रेड-सुरक्षित (thread-safe) के रूप में निर्दिष्ट किया गया है [SWS_TS_14198]।
यह पाठ AUTOSAR विनिर्देश R25-11 के आधार पर एक AI द्वारा जनरेट किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता 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#f1a9a34c- Content hash
f1a9a34c- 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 · जर्मन मूल