Entity Identification value ( EID ) as defined in ISO 13400-2 [2].
Literaturverzeichnis SWS Diagnostics: [2] ISO 13400-2:2019 – Road vehicles – Diagnostic communication over Internet Protocol (DoIP) – Part 2: Network and transport layer requirements and services (Edition 2, Release 2019-12) – www.iso.org
Encapsulates the six-byte entity identification (EID) for DoIP vehicle identification according to ISO 13400-2.
AI-GENERATEDunreviewedModel: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 7deb2263acbfProvenanceOpen questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original
Encapsulates the six-byte entity identification (EID) for DoIP vehicle identification according to ISO 13400-2.
The structure ara::diag::DoIPEntityIdentification::EntityId serves as a data container for the six-byte entity identification (EID) of a DoIP instance according to ISO 13400-2 ([SWS_DM_01496]). When configured accordingly, the Diagnostic Manager retrieves this identifier from the adaptive application via the method ara::diag::DoIPEntityIdentification::GetEntityId to embed it in DoIP protocol messages such as the vehicle announcement message ([SWS_DM_01361]). Should the interface not yet be available or the retrieval fail, a mandatory constraint is a fallback to the fixed replacement value consisting entirely of bytes with the value 0xFF ([SWS_DM_01528]).
Its primary responsibility consists of encapsulating the exactly six-byte identification value of a DoIP entity ([SWS_DM_01496]). In the platform architecture, three main actors interact: First, the adaptive application, which manages the entity identification or reads it from hardware. Second, the interface class ara::diag::DoIPEntityIdentification, which provides the method for providing the identifier ([SWS_DM_01362]). Third, the Diagnostic Manager (DM), which retrieves the EID in the context of vehicle identification for outgoing DoIP messages ([SWS_DM_01361], AUTOSAR_AP_SWS_Diagnostics §8.33 “Providing EID in DoIP protocol messages using Application Interface”).
Context diagram: Integration of EntityId between Diagnostic Manager, interface class, and adaptive application. Sources: [SWS_DM_01361], [SWS_DM_01496].
Lifecycle
As a data structure with the single member entityIdentification of type ara::core::Array<std::uint8_t, 6>, EntityId exhibits the properties of a lightweight C++ value object ([SWS_DM_01496]). Interpretation: Due to the lack of dynamic resource allocation, the structure is likely to support regular copy and move operations by default and not be subject to complex internal state transitions. Question Q-4a6f7d6e7368b436 (open)
Instantiation of EntityId is performed by the adaptive application as soon as the Diagnostic Manager queries the identity data via calling ara::diag::DoIPEntityIdentification::GetEntityId ([SWS_DM_01361]). The lifetime of an instance is typically bound to the return and processing cycle of the method call. While the enclosing service class ara::diag::DoIPEntityIdentification possesses explicit constructors ([SWS_DM_01364], AUTOSAR_AP_SWS_Diagnostics §8.33.1.1.2.1 “DoIPEntityIdentification”) and destructors ([SWS_DM_01365], AUTOSAR_AP_SWS_Diagnostics §8.33.1.1.1.1 “Destructor”), the value object EntityId is automatically deallocated upon leaving the scope after the Diagnostic Manager reads the field data.
Usage Path
The regular usage of EntityId follows a defined sequence in the diagnostic protocol flow:
Configuration check: The Diagnostic Manager checks the attribute DoIpNetworkConfiguration.eidRetrieval. If DoIpEidRetrievalEnum.eidUseApi is stored there, the DM must mandatorily retrieve the identifier via the API ([SWS_DM_01361]).
Retrieval via API: The Diagnostic Manager calls the method ara::diag::DoIPEntityIdentification::GetEntityId ([SWS_DM_01361]).
Data provision: The application creates an instance of EntityId, populates the member entityIdentification with the 6-byte identifier according to ISO 13400-2 ([SWS_DM_01496]), and passes the structure.
In order not to permanently block sending DoIP messages, the specification mandates fallback value behavior in this case: The Diagnostic Manager must transmit a 6-byte EID field with the fixed value 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF instead of the regular application data ([SWS_DM_01528]). At the type level, the fixed array ara::core::Array<std::uint8_t, 6> precludes length errors and buffer overflows at compile time ([SWS_DM_01496]).
This guide was created by an AI system based on the AUTOSAR AP R25-11 specification and editorially reviewed.
UML class diagram
Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.
gemini-3.8-flash-low· 2026-10-13 · German original