DEENESPTFRRUARHIKOZHNL

namespace ara::com::e2e

User GuideAI-GENERATED

Provides types, verification statuses, and error domains for end-to-end protection of adaptive communication.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 9f0a97d88379 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides types, verification statuses, and error domains for end-to-end protection of adaptive communication.

The namespace ara::com::e2e defines types, states, and error codes for the end-to-end protection of adaptive communication. Consuming applications evaluate received data samples based on ProfileCheckStatus as well as SMState and may only use data if the state is kValid ([SWS_CM_90422]). On the provider side, errors such as deadline violations or packet loss can be monitored via TransportFaultConditionHandler ([SWS_CM_00091]). Erroneous states are mapped in a standardized way via the error domain ComE2EErrorDomain.

Context

The namespace ara::com::e2e provides data types, status enumerations, and error handling structures for End-to-End protection (E2E) in the communication module of AUTOSAR Adaptive. Its primary task is to capture transmission and data integrity errors at the application and transport layers in a transparent and standardized manner.

Within the communication architecture, the namespace interacts with several key components:

  • Service Provider (Skeleton): On the provider side, error conditions of the transmission can be monitored via function pointers. The type TransportFaultConditionHandler ([SWS_CM_00092]) allows registering and unregistering corresponding monitoring callbacks for all methods of a skeleton (AUTOSAR_AP_EXP_SWArchitecture p. 68) as well as for getter and setter calls of individual skeleton fields (AUTOSAR_AP_EXP_SWArchitecture p. 69).
  • Consumers and Event Data (SamplePtr): On the consumer side, received data samples undergo an E2E check. The check result of an individual sample is mapped via ProfileCheckStatus ([SWS_CM_90421]), while the overall state of the monitoring is captured via SMState ([SWS_CM_90422]).
  • Error Handling: The error domain ComE2EErrorDomain (AUTOSAR_AP_EXP_ARAComAPI p. 9) and the associated error codes ComE2EErrc ([SWS_CM_10474]) seamlessly integrate E2E errors into the error architecture model of ara::core. The class ComE2EException exists for exception handling.
E2EContext Skeleton ara::com::Skeleton E2ENamespace ara::com::e2e Skeleton->E2ENamespace registriert TransportFaultConditionHandler SamplePtr ara::com::SamplePtr SamplePtr->E2ENamespace returns ProfileCheckStatus & SMState Application Application Application->E2ENamespace erzeugt Fehlercodes via MakeErrorCode Application->SamplePtr checks E2E status

Context diagram: Interaction between service provider (Skeleton), sample management (SamplePtr), and the error domain ara::com::e2e. Sources: AUTOSAR_AP_EXP_SWArchitecture p. 68, [SWS_CM_90421], [SWS_CM_10474].

Lifecycle and State Monitoring

E2E monitoring has a state-based lifecycle phase that is coupled with the reception of data samples via an event. The state is represented by the enumeration SMState ([SWS_CM_90422]):

  • kInit: After initialization, not enough data samples with a successful E2E check are available yet; samples must not be used.
  • kValid: Communication of data samples is functioning properly according to the E2E check; samples may be consumed.
  • kInvalid: Too few error-free or too many erroneous samples were received within the E2E time window; samples must not be used.
  • kNoData: No data has been received from the publisher yet.
  • kStateMDisabled: The E2E state machine is administratively disabled.
  • kIncompatibleQoS: Configured Quality of Service (QoS) policies of both communication endpoints do not match.

In parallel, ProfileCheckStatus provides the cycle status of the individual data sample ([SWS_CM_90421]): In addition to the success state kOk, the check distinguishes counter repetitions (kRepeated), illegal counter jumps (kWrongSequence), and data check errors (kError such as CRC, length, or Data ID errors). If the check is disabled, kCheckDisabled is returned.

As a fundamental precondition for data processing: A received data sample may only be used by the application if SMState == kValid applies and the check of the data sample (GetProfileCheckStatus) did not result in an error (kError) ([SWS_CM_90422]).

Usage Path

A typical usage path spans checking received event data on the consumer side and configuring transport error notifications on the provider side:

  1. Status query of the data sample: After receiving a data sample via ara::com::SamplePtr, the consuming application calls GetProfileCheckStatus() to determine the specific check result of the sample ([SWS_CM_90421]).
  2. State check of the monitoring: The application calls GetSMState() to query the aggregated state of the E2E state machine ([SWS_CM_90422]).
  3. Processing or error handling: If SMState == kValid is present and no error was reported, payload processing takes place ([SWS_CM_90422]). Otherwise, the E2E error is handled via standardized error structures or forwarded by means of MakeErrorCode ([SWS_CM_12511]).
  4. Transport error handling on the skeleton: Service providers register a TransportFaultConditionHandler to monitor their methods and field operations ([SWS_CM_00092], AUTOSAR_AP_EXP_SWArchitecture p. 68, AUTOSAR_AP_EXP_SWArchitecture p. 69). If a transport-related error occurs, the callback is invoked with the respective TransportFaultCondition ([SWS_CM_00091]).
E2E check sequence and error handlingApplicationSamplePtrara::com::e2eGetProfileCheckStatus()ProfileCheckStatus (z. B. kOk)GetSMState()SMState (z. B. kValid)altSMState == kValid && Status != kErrorSample-Daten verarbeitenInvalid state or E2E errorMakeErrorCode(ComE2EErrc, ...)ara::core::ErrorCode

Sequence diagram: Call sequence for validating received data samples and handling errors. Sources: [SWS_CM_90421], [SWS_CM_90422], [SWS_CM_12511].

Error Scenarios

In case of an error, the namespace provides two separate mechanisms that map different error sources:

Transport errors are signaled via the enumeration TransportFaultCondition ([SWS_CM_00091]):

  • kSampleRejected: A data sample was dropped at layer 4 or above due to resource exhaustion at the endpoint.
  • kDeadlineMissed: A data sample exceeded its configured deadline interval.
  • kSampleLost: Loss of data samples was detected (for example, a gap in sequence numbers).

Protocol and check errors of the E2E transformation are classified via ComE2EErrc ([SWS_CM_10474]). These error codes include counter repetitions (kRepeated), counter jumps beyond the allowed delta (kWrongSequence), CRC/length errors (kError), missing new data (kNoNewData), and remote service errors (kUnspecifiedE2EError). The function MakeErrorCode serves to construct instances of type ara::core::ErrorCode ([SWS_CM_12511]), while GetComE2EErrorDomain returns a reference to the singleton instance of ComE2EErrorDomain ([SWS_CM_12510]). Interpretation: The class ComE2EException is likely used primarily when errors are mapped in execution paths with C++ exceptions enabled. Question Q-8eaebde6d1182f66 (open)

This guide summarizes the specification elements of the namespace ara::com::e2e for AUTOSAR Adaptive R25-11.

Topic map

KI-gestützte Gruppierung auf Basis der Records und Spezifikationsauszüge; keine Gliederung aus der AUTOSAR-Spezifikation.

Class diagram

Abgerundete Rahmen = Namespace- bzw. Klassen-Scopes; hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); graue Boxen = namespace-fremde bzw. externe Basisklassen. Klicken öffnet die jeweilige Klassen- bzw. cppreference-Seite.

G cluster_ns ara::com::e2e nara__com__e2e__ComE2EErrorDomain ComE2EErrorDomain next_ara__core__ErrorDomain ara::core::ErrorDomain nara__com__e2e__ComE2EErrorDomain->next_ara__core__ErrorDomain nara__com__e2e__ComE2EException ComE2EException next_ara__core__Exception ara::core::Exception nara__com__e2e__ComE2EException->next_ara__core__Exception

Detail view

Select an entry in the outline.

Fehlerbehandlung

Defines a class representing the E2E error domain

inherits from ara::core::ErrorDomain

Defines a class for exceptions to be thrown by the E2E APIs

inherits from ara::core::Exception

Returns a reference to the ara::com::e2e::ComE2EErrorDomain object

constexpr const ara::core::ErrorDomain & GetComE2EErrorDomain () noexcept;
MakeErrorCode function

Creates an instance of ara::core::ErrorCode

constexpr ara::core::ErrorCode MakeErrorCode (ara::com::e2e::ComE2 EErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
ComE2EErrc enumeration

Defines the error codes for the ara::com::e2e::ComE2EErrc

enum class ComE2EErrc : ara::core::ErrorDomain::CodeType {...};

Status und Überwachung

ProfileCheckStatus enumeration

The result of the check of a single ara::com::SamplePtr

enum class ProfileCheckStatus : std::uint8_t {...};
SMState enumeration

The state of the E2E supervision after the most recent check of a received sample of the event. If ara::com::e2e::SMState == kValid, and the ara::com::SamplePtr:: GetProfileCheckStatus did not result in an Error then, the last checked sample can be used.

enum class SMState : std::uint8_t {...};

Transportfehler

Defines the TransportFaultCondition which represent a single transport-related fault event

enum class TransportFaultCondition : std::uint8_t {...};

Handler type to be called when one or more (determined by the value of the std::size_t) fault conditions are detected ≙ std::size_t

using TransportFaultConditionHandler = std::function<void(Transport FaultCondition, std::size_t)>;

Enumerations

enumeration ComE2EErrc [SWS_CM_10474] Upstream: RS_AP_00130

enum class ComE2EErrc :          ara::core::ErrorDomain::CodeType {...};

Defines the error codes for the ara::com::e2e::ComE2EErrc

Header-Datei#include "ara/com/e2e/e2e_error_domain.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com::e2e
SymbolComE2EErrc
Basistypara::core::ErrorDomain::CodeType

Werte

EnumeratorBeschreibung
kRepeated=1 Data has a repeated counter
kWrongSequence=2 The checks of the Data in this cycle were successful, with the exception of counter jump, which changed more than the allowed delta
kError=3 Error not related to counters occurred (e.g. wrong crc, wrong length, wrong Data ID) or the return of the check function was not OK
kNoNewData=5 No new data is available
kUnspecifiedE2EError= 13 A remote service returned an unspecified E2E error.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 141dc0897b65 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The enumeration ComE2EErrc defines the specific error codes for end-to-end protection (E2E) in namespace ara::com::e2e based on ara::core::ErrorDomain::CodeType [SWS_CM_10474]. Within the error domain ara::com::e2e::ComE2EErrorDomain, the type is provided via the type alias Errc [SWS_CM_12504].

The enumerator values describe determined check results and error states [SWS_CM_10474]:

  • kRepeated: Data exhibits a repeated counter value [SWS_CM_10474].
  • kWrongSequence: Checks were successful, but a counter jump exceeded the permissible delta [SWS_CM_10474].
  • kError: A counter-independent error has occurred (e.g., incorrect CRC, incorrect length, or invalid Data-ID) or the return of the check function was not OK [SWS_CM_10474].
  • kNoNewData: No new data is available [SWS_CM_10474].
  • kUnspecifiedE2EError: A remote service returned an unspecified E2E error [SWS_CM_10474].

During server-side request processing, ComE2EErrc is passed as argument errorCode to the skeleton's method E2EErrorHandler if the E2E check of the message fails [SWS_CM_10470], AUTOSAR_AP_SWS_CommunicationManagement §7.4.1.2.3.3 “E2E error notification”. If no new request message is available, the handler is mandatorily called with ComE2EErrc::kNoNewData as well as dataID = 0 and messageCounter = 0 [SWS_CM_00047]. Following the execution of the error handler, E2E protection of the response message is performed [SWS_CM_90481].

Regarding concurrency and constraints: The method E2EErrorHandler is not specified as reentrant and not exception safe [SWS_CM_10470]. Its registration takes place purely statically prior to runtime; dynamic registration or deregistration is not provided AUTOSAR_AP_SWS_CommunicationManagement §7.4.1.2.3.3 “E2E error notification”. Furthermore, in the event of CRC errors, the server application must not rely on the passed Data-ID, as it may be corrupted [SWS_CM_10470].

This text was created by an AI and is based exclusively on the specifications of Release R25-11.

Implementer's Guide to follow (complexity I2)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_10474
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10474@rel:R25-11#7fdc6917
Content hash
7fdc6917
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10474
Status: valid/unmigrated Version: rel:R25-11#badd908e Versionshistorie & Revisions (1 transition, 8 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_CM_10474@rel:R25-11#badd908e
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#7fdc69172026-09-30
  • R19-11rel:R19-11#6a4cea2f2026-10-14
  • R20-11rel:R20-11#61179def2026-10-14
  • R21-11rel:R21-11#61179def2026-10-14
  • R22-11rel:R22-11#cd4dc4512026-10-14
  • R23-11rel:R23-11#9b21e5562026-10-14
  • R24-11rel:R24-11#e3693bd52026-10-14
  • R25-11rel:R25-11#badd908e2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

enumeration ProfileCheckStatus [SWS_CM_90421] Upstream: RS_E2E_08534, RS_AP_00114, RS_AP_00115, RS_AP_00119

enum class ProfileCheckStatus :               std::uint8_t {...};

The result of the check of a single ara::com::SamplePtr

Header-Datei#include "ara/com/e2e/profile_check_status.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com::e2e
SymbolProfileCheckStatus
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kOkThe checks of the sample in this cycle were successful (including counter check)
kRepeatedSample has a repeated counter
kWrongSequenceThe checks of the sample in this cycle were successful, with the exception of counter jump, which changed more than the allowed delta.
kErrorError not related to counters occurred (e.g. wrong crc, wrong length, wrong Data ID).
kCheckDisabledNo E2E check status available. Return value of function GetProfile CheckStatus if EndToEndTransformationComSpecProps. disableEndToEndCheck is set to TRUE
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: f09c177b785b Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Call Context

The enumeration ProfileCheckStatus in namespace ara::com::e2e represents the result of the end-to-end check (E2E) for a single received sample [SWS_CM_90421]. Upon reception of an E2E-protected sample, the communication management executes the routine E2E_check within GetNewSamples(), which returns the ProfileCheckStatus [SWS_CM_90411]. This status is stored directly in the associated ara::com::SamplePtr [SWS_CM_90413]. Receivers access the check status synchronously and exception-safely via the method GetProfileCheckStatus() of class ara::com::SamplePtr [SWS_CM_00042], [SWS_CM_90420].

Status Values and Error Handling

std::uint8_t serves as the underlying type [SWS_CM_90421]. The enumeration defines the following states for individual error analysis:

  • kOk: All checks of the sample in the current cycle, including the counter check, were successful [SWS_CM_90421].
  • kRepeated: The received sample exhibits a repeated counter value [SWS_CM_90421].
  • kWrongSequence: The check was successful, but an impermissible counter jump above the allowed delta is present [SWS_CM_90421].
  • kError: A non-counter-related error has occurred, for example an incorrect CRC, an incorrect length, or an erroneous Data ID [SWS_CM_90421].
  • kCheckDisabled: Indicates that no E2E check is active when EndToEndTransformationComSpecProps.disableEndToEndCheck was configured to TRUE [SWS_CM_90421].

Interaction and Boundary Conditions

While ProfileCheckStatus reflects the isolated check result of an individual sample [SWS_CM_90421], the event class manages the higher-level state machine ara::com::e2e::SMState [SWS_CM_90413] in parallel, which can be retrieved via GetE2EStateMachineState() [SWS_CM_10475]. The definition is located in the header file ara/com/e2e/profile_check_status.h [SWS_CM_90421].

This usage note was generated automatically based on the AUTOSAR Adaptive R25-11 specification.

Implementer's Guide to follow (complexity I3)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_90421
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_90421@rel:R25-11#83c1e2b5
Content hash
83c1e2b5
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_90421
Status: valid/unmigrated Version: rel:R25-11#19293cac Versionshistorie & Revisions (1 transition, 8 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_CM_90421@rel:R25-11#19293cac
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#83c1e2b52026-09-30
  • R19-11rel:R19-11#3bebc6d32026-10-14
  • R20-11rel:R20-11#f00535832026-10-14
  • R21-11rel:R21-11#7826cb9c2026-10-14
  • R22-11rel:R22-11#7826cb9c2026-10-14
  • R23-11rel:R23-11#2f5320e82026-10-14
  • R24-11rel:R24-11#774fbe762026-10-14
  • R25-11rel:R25-11#19293cac2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

enumeration SMState [SWS_CM_90422] Upstream: RS_E2E_08534, RS_AP_00114, RS_AP_00115, RS_AP_00119

enum class SMState :         std::uint8_t {...};

The state of the E2E supervision after the most recent check of a received sample of the event. If ara::com::e2e::SMState == kValid, and the ara::com::SamplePtr:: GetProfileCheckStatus did not result in an Error then, the last checked sample can be used.

Header-Datei#include "ara/com/e2e/sm_state.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com::e2e
SymbolSMState
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kValidCommunication of the samples of this event is functioning properly according to E2E checks; sample(s) can be used
kNoDataNo data have been received from the publisher at all
kInitNot enough data where the E2E check yielded OK from the publisher is available since the initialization; sample(s) cannot be used
kInvalidToo little data (where the E2E check yielded OK), or too much data (where the e2e check yielded ERROR) were received within the E2 E time window - communication of the sample of this event not functioning properly; sample(s) cannot be used
kStateMDisabledNo E2E state machine available. Return value of function Get SMState if disableEndToEndStateMachine == TRUE
kIncompatibleQoSSamples can’t be received because configured QoS policies at each end of communication don’t match. (Only applicable to certain network bindings.)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_90422
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_90422@rel:R25-11#d168e6b9
Content hash
d168e6b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_90422
Status: valid/unmigrated Version: rel:R25-11#0dc36587 Versionshistorie & Revisions (1 transition, 8 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_CM_90422@rel:R25-11#0dc36587
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d168e6b92026-09-30
  • R19-11rel:R19-11#d0a2c20a2026-10-14
  • R20-11rel:R20-11#80fe23132026-10-14
  • R21-11rel:R21-11#b6f05aa62026-10-14
  • R22-11rel:R22-11#ac0177e92026-10-14
  • R23-11rel:R23-11#f37781082026-10-14
  • R24-11rel:R24-11#9c1bf6142026-10-14
  • R25-11rel:R25-11#0dc365872026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

enumeration TransportFaultCondition [SWS_CM_00091]

enum class TransportFaultCondition :                 std::uint8_t {...};

Defines the TransportFaultCondition which represent a single transport-related fault event

Header-Datei#include "ara/com/e2e/transport_fault_condition.h"
Forwarding-Header#include "ara/com/com_fwd.h"
Scopenamespace ara::com::e2e
SymbolTransportFaultCondition
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kSampleRejectedA sample has been rejected on layer 4 or above due to end-point resource exhaustion
kDeadlineMissedA sample has missed its configured deadline period
kSampleLostLoss of a sample has been detected (e.g. gap in expected sequence numbering)

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00091
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00091@rel:R25-11#cdde2898
Content hash
cdde2898
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00091
Status: valid/unmigrated Version: rel:R25-11#7c33a23c 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_CM_00091@rel:R25-11#7c33a23c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#cdde28982026-09-30
  • R24-11rel:R24-11#b04753832026-10-14
  • R25-11rel:R25-11#7c33a23c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Type aliases

type alias TransportFaultConditionHandler [SWS_CM_00092]

using TransportFaultConditionHandler = std::function<void(Transport FaultCondition, std::size_t)>;

Handler type to be called when one or more (determined by the value of the std::size_t) fault conditions are detected

Header-Datei#include "ara/com/e2e/transport_fault_condition.h"
Scopenamespace ara::com::e2e
SymbolTransportFaultConditionHandler

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00092
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00092@rel:R25-11#2f78d2f2
Content hash
2f78d2f2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00092
Status: valid/unmigrated Version: rel:R25-11#018e4f61 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_CM_00092@rel:R25-11#018e4f61
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2f78d2f22026-09-30
  • R24-11rel:R24-11#97594fb62026-10-14
  • R25-11rel:R25-11#018e4f612026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentation of free functions

function GetComE2EErrorDomain [SWS_CM_12510] Upstream: RS_AP_00120, RS_AP_00130

constexpr const ara::core::ErrorDomain & GetComE2EErrorDomain () noexcept;

Returns a reference to the ara::com::e2e::ComE2EErrorDomain object

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 983028d92996 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The free function ara::com::e2e::GetComE2EErrorDomain is provided via the header file #include "ara/com/e2e/e2e_error_domain.h" [SWS_CM_12510]. It serves to retrieve a reference to the global ara::com::e2e::ComE2EErrorDomain object AUTOSAR_AP_SWS_CommunicationManagement §8.15.2.1.1 “GetComE2EErrorDomain”.

Usage and semantics: The function takes no parameters and synchronously returns a const ara::core::ErrorDomain & [SWS_CM_12510]. Thanks to the definition as constexpr, the reference to the error domain can already be resolved at compile time.

Error handling and concurrency: The function is declared with noexcept and designated as exception safe (exception safe) [SWS_CM_12510]; it does not trigger any errors itself. Because it exclusively returns an immutable object reference, the call is expected to be reentrant and safely usable concurrently without synchronization overhead. Question Q-02aeb40fc1953271 (open)

Interplay: The returned error domain is needed to uniquely check and assign error codes in the context of E2E-protected communication interfaces [SWS_CM_12510].

This usage note was generated automatically based on the AUTOSAR Adaptive R25-11 specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/com/e2e/e2e_error_domain.h"
Scopenamespace ara::com::e2e
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
const ara::core::ErrorDomain &Reference to the ara::com::e2e::ComE2EErrorDomain object

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_12510
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_12510@rel:R25-11#cb6fe08e
Content hash
cb6fe08e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_12510
Status: valid/unmigrated Version: rel:R25-11#8273e6ed Versionshistorie & Revisions (1 transition, 5 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_CM_12510@rel:R25-11#8273e6ed
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#cb6fe08e2026-09-30
  • R22-11rel:R22-11#4b8f06b62026-10-14
  • R23-11rel:R23-11#2d081e782026-10-14
  • R24-11rel:R24-11#d39b82d62026-10-14
  • R25-11rel:R25-11#8273e6ed2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function MakeErrorCode [SWS_CM_12511] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00130

constexpr ara::core::ErrorCode MakeErrorCode (ara::com::e2e::ComE2 EErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an instance of ara::core::ErrorCode

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5253c66d35c2 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The helper function ara::com::e2e::MakeErrorCode is used to create a standardized error instance of type ara::core::ErrorCode for the E2E communication domain [SWS_CM_12511]. It is declared in header ara/com/e2e/e2e_error_domain.h within namespace ara::com::e2e SWS CommunicationManagement §8.15.2.1.2 “MakeErrorCode”.

Usage and Parameters

The function operates synchronously and is specified as constexpr as well as noexcept [SWS_CM_12511]:

  • code: Error code as enumeration value of type ara::com::e2e::ComE2EErrc [SWS_CM_12511].
  • data: Vendor-specific additional data of type ara::core::ErrorDomain::SupportDataType that is associated with the error [SWS_CM_12511].
  • Return value: An initialized ara::core::ErrorCode object representing the error [SWS_CM_12511].

Error Handling and Concurrency

Regarding exception safety, the creation is defined as completely exception safe (exception safe) [SWS_CM_12511]. Due to the constexpr and noexcept declarations, the function does not throw exceptions and is likely reentrant and thread-safe without side effects in arbitrary calling contexts. Question Q-d1f50cf94a3fa9e8 (open)

Interaction in Communication Management

The function forms the domain-specific counterpart to ara::com::MakeErrorCode for general communication errors [SWS_CM_11335] as well as apext::com::secoc::MakeErrorCode for downstream error domains such as SecOC [SWS_CM_12522]. All three APIs standardize the encapsulation of error states via ara::core::ErrorCode according to the overarching architectural specifications [SWS_CM_12511].

This usage note was generated automatically based on the specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/com/e2e/e2e_error_domain.h"
Scopenamespace ara::com::e2e
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
codeError code number.
dataVendor defined data associated with the error

Rückgabewert

TypBeschreibung
ara::core::ErrorCodeAn ara::core::ErrorCode object.

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_12511
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_12511@rel:R25-11#6fea7c11
Content hash
6fea7c11
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_12511
Status: valid/unmigrated Version: rel:R25-11#4a23dbfe Versionshistorie & Revisions (1 transition, 5 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_CM_12511@rel:R25-11#4a23dbfe
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#6fea7c112026-09-30
  • R22-11rel:R22-11#047e791f2026-10-14
  • R23-11rel:R23-11#aa5da2702026-10-14
  • R24-11rel:R24-11#484ed1bf2026-10-14
  • R25-11rel:R25-11#4a23dbfe2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill