DEENESPTFRRUARHIKOZHNL

class apext::diag::uds_transport::UdsMessage

[SWS_DM_00291] Upstream: RS_Diag_04147

class UdsMessage {...};

class represents an UDS message exchanged between DM generic core (UdsTransport ProtocolMgr) and a specific implementation of UdsTransportProtocolHandler on diagnostic request reception path or diagnostic response transmission path. UdsMessage provides the storage for UDS requests/responses.

Instances of UdsMessage (with optimized resource allocation) are only created by DM generic core, the UdsTransportProtocolHandler can read/write on it.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Forwarding-Header#include "apext/diag/diag_fwd.h"
Scopenamespace apext::diag::uds_transport

User GuideKI-GENERIERT

Dient als Speicher- und Informationsträger für UDS-Nachrichten beim Datenaustausch im Adaptive-Diagnose-Manager.
KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: b58e356aa414 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Dient als Speicher- und Informationsträger für UDS-Nachrichten beim Datenaustausch im Adaptive-Diagnose-Manager.

Die Klasse apext::diag::uds_transport::UdsMessage stellt das standardisierte Speicher- und Transferobjekt für Diagnosenachrichten dar, die zwischen dem generischen Diagnosekern und transportspezifischen Handlern ausgetauscht werden. Instanzen werden ausschließlich vom generischen Kern mit optimierter Speicherallokation erzeugt und über UdsMessagePtr bereitgestellt [SWS_DM_09012]. Im Empfangspfad befüllt der Handler den bereitgestellten Datenpuffer ausgehend von der Service-ID und leitet die Nachricht nach Anfügen etwaiger Kanal-Metadaten weiter [SWS_DM_00388]. Kann der Kern eine Nachricht wegen bestehender Auslastung nicht verarbeiten, wird die Zuweisung verweigert und ein Nullpointer geliefert [SWS_DM_00386].

Kontext

Die Klasse apext::diag::uds_transport::UdsMessage stellt das zentrale Daten- und Speicherobjekt für UDS-Nachrichten dar, die zwischen dem generischen Kern des Diagnostic Managements (DM Generic Core bzw. UdsTransportProtocolMgr) und einer spezifischen Implementierung von UdsTransportProtocolHandler ausgetauscht werden. Sie dient als Kapselung und Speicher (Storage) für eingehende UDS-Requests und ausgehende UDS-Responses.

Neben den Nutzdaten transportiert UdsMessage die Adressierungsparameter der Diagnosekommunikation: die Quelladresse Address [SWS_DM_00293] über GetSa() [SWS_DM_00297], die Zieladresse über GetTa() [SWS_DM_00298] sowie den Adresstyp TargetAddressType (physikalisch mit kPhysical oder funktional mit kFunctional) [SWS_DM_00296] über GetTaType() [SWS_DM_00299]. Zudem können über AddMetaInfo() kanalspezifische Metainformationen wie Verbindungsparameter für DoIP angefügt werden [SWS_DM_00294], [SWS_DM_00302].

UdsMessageKontext mgr UdsTransportProtocolMgr (DM Generic Core) handler UdsTransportProtocolHandler (Transport-Plugin) mgr->handler übergibt UdsMessagePtr msg UdsMessage (apext::diag::uds_transport) mgr->msg erzeugt & reserviert handler->mgr leitet weiter via HandleMessage handler->msg befüllt Payload & Metadaten

Kontextdiagramm: Zusammenspiel zwischen DM-Kern, Transport-Handler und UdsMessage. Quellen: [SWS_DM_09012], [SWS_DM_00385], [SWS_DM_00345]

Lebenszyklus

Instanzen von UdsMessage werden mit optimierter Ressourcenallokation ausschließlich durch den generischen Kern des Diagnostic Managements erzeugt. Um eine unkontrollierte Instanziierung durch Protokoll-Handler zu unterbinden, ist der Standardkonstruktor geschützt (protected) deklariert [SWS_DM_09012]. Handler erhalten den Zugriff auf Nachrichtenobjekte ausschließlich über Eigentümer-Zeiger des Typs apext::diag::uds_transport::UdsMessagePtr [SWS_DM_00303] oder für reine Lesezugriffe über apext::diag::uds_transport::UdsMessageConstPtr [SWS_DM_00304], AUTOSAR_AP_SWS_Diagnostics S. 98.

Die Zerstörung des Objekts erfolgt über den virtuellen Destruktor ~UdsMessage() [SWS_DM_09010]. Hinsichtlich der Nebenläufigkeit sind die Abfragemethoden für Adressinformationen (GetSa, GetTa, GetTaType) wiedereintrittsfähig (reentrant) und ausnahmesicher (noexcept) [SWS_DM_00297], [SWS_DM_00298], [SWS_DM_00299]. Der Zugriff auf den Datenpuffer über GetPayload() sowie das Hinzufügen von Metadaten über AddMetaInfo() sind hingegen als nicht threadsicher eingestuft, da die Implementierung im Rahmen dieser Aufrufe Puffer- und Ressourcenallokationen vornehmen darf [SWS_DM_00300], [SWS_DM_00301], [SWS_DM_00302].

Nutzungspfad

Im regulären Ablauf des Empfangspfads kündigt der UdsTransportProtocolHandler eine eingehende UDS-Anfrage über UdsTransportProtocolMgr::IndicateMessage() beim DM an [SWS_DM_00385]. Sofern der DM aufnahmebereit ist, quittiert er dies mit dem Status kIndicationOk und übergibt einen UdsMessagePtr mit einer Mindestgröße von einem Byte und der vom DM gewünschten Pufferkapazität [SWS_DM_00385].

Anschließend ruft der Protokoll-Handler die nicht-konstante Methode GetPayload() auf, um eine schreibbare Referenz auf den zugrunde liegenden Speicherbereich (uds_transport::ByteSpan&) zu erhalten [SWS_DM_00301]. Er befüllt diesen Puffer beginnend bei der Service-Kennung (SID) bis zur maximalen Kapazität des UdsMessage-Objekts oder der vollständigen Nachrichtenlänge [SWS_DM_00388]. Nach optionalem Ergänzen kanalspezifischer Metadaten via AddMetaInfo() [SWS_DM_00302] leitet der Handler das befüllte Objekt über UdsTransportProtocolMgr::HandleMessage() an den Diagnosekern weiter [SWS_DM_00345]. (Interpretation: Im Übertragungspfad für Diagnoseantworten dürfte die Bereitstellung von UdsMessage analog durch den generischen Kern erfolgen.) Frage Q-4f568a0e527bdfbc (offen)

Ablauf der Nachrichtenverarbeitung im EmpfangspfadHandlerManagerUdsMessageIndicateMessage(sa, ta, taType, ...)altDM bereit (kIndicationOk)std::pair(kIndicationOk, UdsMessagePtr)GetPayload()uds_transport::ByteSpan&Payload ab SID befüllenAddMetaInfo(metaInfo)HandleMessage(udsMessagePtr)DM ausgelastet (kIndicationOccupied)std::pair(kIndicationOccupied, nullptr)Nachricht verworfen

Sequenzdiagramm: Interaktionsabfolge beim Empfang einer UDS-Nachricht. Quellen: [SWS_DM_00385], [SWS_DM_00386], [SWS_DM_00388], [SWS_DM_00301], [SWS_DM_00302], [SWS_DM_00345]

Fehlerszenarien

Kann der DM die über IndicateMessage() angekündigte Nachricht nicht verarbeiten, weil er durch die aktive Abarbeitung eines Dienstes derselben Tester-Present-Sitzung belegt ist, liefert er den Status kIndicationOccupied und einen UdsMessagePtr gleich nullptr zurück [SWS_DM_00386]. In diesem Fall wird keine UdsMessage bereitgestellt und der Empfang abgebrochen. Ebenso führt eine unbekannte Zieladresse zum Ergebnis kIndicationUnknownTargetAddress mit einem Nullpointer als Nachrichtenreferenz AUTOSAR_AP_SWS_Diagnostics S. 100.

Beim Befüllen des Puffers muss der Protokoll-Handler die vorgegebene Pufferkapazität beachten: Eintreffende Anfragen, die die bereitgestellte Kapazität der UdsMessage überschreiten, werden auf die volle Puffergröße begrenzt [SWS_DM_00388]. Zudem führen gleichzeitige, ungeschützte Zugriffe auf GetPayload() oder AddMetaInfo() aus mehreren Threads zu undefiniertem Verhalten, da diese Schnittstellen explizit als threadsicherheitsunsicher (unsafe) spezifiziert sind [SWS_DM_00300], [SWS_DM_00301], [SWS_DM_00302].

Dieser Klassen-Leitfaden wurde auf Basis der AUTOSAR-Spezifikation R25-11 für die Adaptive Platform erstellt.

Mitgliederkarte

Klassendiagramm

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G napext__diag__uds_transport__UdsMessage883 UdsMessage + ~UdsMessage() + AddMetaInfo() + GetPayload() + GetSa() + GetTa() + GetTaType() + UdsMessage()

Detailansicht

Wähle in der Gliederung einen Eintrag aus.

Konstruktoren und Destruktor

UdsMessage function

non public default constructor. The default constructor is protected as we want to forbid, that UdsTransportProtocolHandlers do create UdsMessages on its own! Only DM is allowed to create and hands over UdsMessagePtrs to UdsTransportProtocolHandler.

UdsMessage () noexcept;
~UdsMessage function

Destructing the uds message.

virtual ~UdsMessage () noexcept=default;

Methoden

AddMetaInfo function

add new metaInfo to this message.

virtual void AddMetaInfo (MetaInfoMap metaInfo) noexcept;
GetPayload function 2

Get the UDS message data starting with the SID (A_Data as per ISO) with no write access.

Überladungen GetPayload 2
virtual const ara::core::Vector< const std::uint8_t > & GetPayload () const noexcept; SWS_DM_00300
virtual uds_transport::ByteSpan & GetPayload () noexcept; SWS_DM_00301
GetSa function

Get the source address of the uds message.

virtual Address GetSa () const noexcept;
GetTa function

Get the target address of the uds message.

virtual Address GetTa () const noexcept;
GetTaType function

Get the target address type (phys/func) of the uds message.

virtual TargetAddressType GetTaType () const noexcept;

Typaliase

Address type alias

Type for UDS source and target addresses.

using Address = std::uint16_t;
MetaInfoMap type alias

Type for the meta information attached to a UdsMessage.

Enumerationen

TargetAddressType enumeration

type of target address in UdsMessage

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

Dokumentation der Methoden

function AddMetaInfo [SWS_DM_00302] Upstream: RS_Diag_04147, RS_Diag_04170

virtual void AddMetaInfo (MetaInfoMap metaInfo) noexcept;

add new metaInfo to this message.

KI-GENERIERT ungeprüft Modell: gemini-3.8-flash-medium · Aufwand: medium · Temperatur: nicht steuerbar · Prompt: f214c6d35475 Herkunft Offene Fragen (1)
KI-generiertgemini-3.8-flash-medium · 2026-10-13

Die virtuelle Memberfunktion AddMetaInfo der Klasse apext::diag::uds_transport::UdsMessage dient dazu, einer Diagnosebotschaft neue Metadaten zuzuordnen [SWS_DM_00302]. Sie wird typischerweise durch ein Transportprotokoll-Plugin aufgerufen, um kanalspezifische Zusatzinformationen – wie beispielsweise vordefinierte Metadaten-Schlüssel für DoIP – an die jeweilige Diagnoseanforderung anzuhängen AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 „AddMetaInfo“.

Für die Verwendung der Schnittstelle gelten folgende Rahmenbedingungen [SWS_DM_00302]:

  • Aufrufkontext und Header: Die Deklaration wird über die Header-Datei apext/diag/uds_transport/uds_message.h bereitgestellt und direkt auf Instanzen von UdsMessage ausgeführt AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 „AddMetaInfo“.
  • Übergabeparameter: Der Eingabeparameter metaInfo vom Typ MetaInfoMap übergibt die hinzuzufügenden Metainformationen der Anforderung [SWS_DM_00302].
  • Rückgabewert: Die synchrone Funktion liefert keinen Rückgabewert (void) [SWS_DM_00302].
  • Fehlerbehandlung: Die Operation ist mit dem Bezeichner noexcept versehen und als ausnahmesicher (exception safe) spezifiziert; spezifische Fehlercodes existieren nicht [SWS_DM_00302].

In Bezug auf die Nebenläufigkeit ist die Methode als nicht threadsicher (thread safety: unsafe) deklariert [SWS_DM_00302]. Interpretation: Aufrufer dürften folglich dafür verantwortlich sein, konkurrierende Zugriffe auf dieselbe Instanz von UdsMessage durch externe Mechanismen abzusichern, da die Spezifikation keine interne Synchronisation vorsieht AUTOSAR_AP_SWS_Diagnostics §C.5.2.2.2.1 „AddMetaInfo“. Frage Q-c2de8aa28c94aed8 (offen)

Dieser Text wurde von einer KI auf Basis der Spezifikation AUTOSAR R25-11 generiert.

Implementer's Guide folgt (Komplexität I1)

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe

Parameter (in)

ParameterBeschreibung
metaInfoMetaInfo of the request.

Rückgabewert

TypBeschreibung
None
Hinweise: typically called by the Transport Protocol plugin to add channel specific meta-info. See further MetaInfo related SWS, there are already predefined meta-info keys for DoIP....)

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

Record
AUTOSAR/AP/record/SWS_DM_00302
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00302@rel:R25-11#5d66ee09
Content hash
5d66ee09
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00302
Status: valid/unmigrated Version: rel:R25-11#675a6873 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_DM_00302@rel:R25-11#675a6873
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#5d66ee092026-09-30
  • R19-11rel:R19-11#59de85012026-10-14
  • R20-11rel:R20-11#fc0f4e762026-10-14
  • R21-11rel:R21-11#f7ca4f0c2026-10-14
  • R22-11rel:R22-11#fe9effec2026-10-14
  • R23-11rel:R23-11#ff73c0922026-10-14
  • R24-11rel:R24-11#f6433d2e2026-10-14
  • R25-11rel:R25-11#675a68732026-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 GetPayload [SWS_DM_00300] Upstream: RS_Diag_04147

virtual const ara::core::Vector< const std::uint8_t > & GetPayload () const noexcept;

Get the UDS message data starting with the SID (A_Data as per ISO) with no write access.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe

Rückgabewert

TypBeschreibung
const ara::core::Vector<const std::uint8_t > &The entire payload (A_Data) with no write access.
Hinweise: Marked as "unsafe" with regard to thread-safety, as the implementation is allowed to do a ressource allocation of buffer in the context of this call.

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

Record
AUTOSAR/AP/record/SWS_DM_00300
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00300@rel:R25-11#09c8a713
Content hash
09c8a713
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00300
Status: valid/unmigrated Version: rel:R25-11#cf123c75 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_DM_00300@rel:R25-11#cf123c75
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#09c8a7132026-09-30
  • R19-11rel:R19-11#393107622026-10-14
  • R20-11rel:R20-11#6dc0e2a42026-10-14
  • R21-11rel:R21-11#6dc0e2a42026-10-14
  • R22-11rel:R22-11#8c7f7b792026-10-14
  • R23-11rel:R23-11#8a0928b62026-10-14
  • R24-11rel:R24-11#a212c0af2026-10-14
  • R25-11rel:R25-11#cf123c752026-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 GetPayload [SWS_DM_00301] Upstream: RS_Diag_04147

virtual uds_transport::ByteSpan & GetPayload () noexcept;

Return the underlying buffer for write access.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe

Rückgabewert

TypBeschreibung
uds_transport::ByteSpan&payload of the UDSMessage starting from SID.
Hinweise: Needed by UdsTransportProtocolHandler implementation to fill the UdsMessage with data in RX path. I.e. UdsTransportProtocolHandler implementation gets the UdsMessage instance from a call to UdsTransportProtocolMgr::IndicateMessage() and then calls this method on it and writes into the returned uds_transport::ByteVector. Marked as "unsafe" with regard to thread safety as implementation is allowed to do ressource allocation of buffer in the context of this call.

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

Record
AUTOSAR/AP/record/SWS_DM_00301
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00301@rel:R25-11#ba7e789e
Content hash
ba7e789e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00301
Status: valid/unmigrated Version: rel:R25-11#7ee8d83d 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_DM_00301@rel:R25-11#7ee8d83d
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ba7e789e2026-09-30
  • R19-11rel:R19-11#f9a613082026-10-14
  • R20-11rel:R20-11#eb7021ce2026-10-14
  • R21-11rel:R21-11#eb7021ce2026-10-14
  • R22-11rel:R22-11#003bb4d12026-10-14
  • R23-11rel:R23-11#8d6801992026-10-14
  • R24-11rel:R24-11#161f75542026-10-14
  • R25-11rel:R25-11#7ee8d83d2026-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 GetSa [SWS_DM_00297] Upstream: RS_Diag_04147, RS_Diag_04174

virtual Address GetSa () const noexcept;

Get the source address of the uds message.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitreentrant

Rückgabewert

TypBeschreibung
AddressThe source address of the uds message.

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

Record
AUTOSAR/AP/record/SWS_DM_00297
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00297@rel:R25-11#c3448703
Content hash
c3448703
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00297
Status: valid/unmigrated Version: rel:R25-11#d7bb6b79 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_DM_00297@rel:R25-11#d7bb6b79
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#c34487032026-09-30
  • R19-11rel:R19-11#c0a476352026-10-14
  • R20-11rel:R20-11#12ec510d2026-10-14
  • R21-11rel:R21-11#0f7db1342026-10-14
  • R22-11rel:R22-11#77c3d0d52026-10-14
  • R23-11rel:R23-11#ff91c9542026-10-14
  • R24-11rel:R24-11#d7bb6b792026-10-14
  • R25-11rel:R25-11#d7bb6b792026-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 GetTa [SWS_DM_00298] Upstream: RS_Diag_04147, RS_Diag_04174

virtual Address GetTa () const noexcept;

Get the target address of the uds message.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitreentrant

Rückgabewert

TypBeschreibung
AddressThe target address of the uds message.

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

Record
AUTOSAR/AP/record/SWS_DM_00298
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00298@rel:R25-11#a57698b0
Content hash
a57698b0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00298
Status: valid/unmigrated Version: rel:R25-11#1968e933 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_DM_00298@rel:R25-11#1968e933
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a57698b02026-09-30
  • R19-11rel:R19-11#222abc9b2026-10-14
  • R20-11rel:R20-11#47659dac2026-10-14
  • R21-11rel:R21-11#47659dac2026-10-14
  • R22-11rel:R22-11#4fd3e98b2026-10-14
  • R23-11rel:R23-11#fa73a0662026-10-14
  • R24-11rel:R24-11#1968e9332026-10-14
  • R25-11rel:R25-11#1968e9332026-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 GetTaType [SWS_DM_00299] Upstream: RS_Diag_04147, RS_Diag_04174

virtual TargetAddressType GetTaType () const noexcept;

Get the target address type (phys/func) of the uds message.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitreentrant

Rückgabewert

TypBeschreibung
TargetAddressTypeThe target address type of the uds message.

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

Record
AUTOSAR/AP/record/SWS_DM_00299
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00299@rel:R25-11#a70e61ea
Content hash
a70e61ea
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00299
Status: valid/unmigrated Version: rel:R25-11#28674895 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_DM_00299@rel:R25-11#28674895
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a70e61ea2026-09-30
  • R19-11rel:R19-11#1d0afa252026-10-14
  • R20-11rel:R20-11#7020b5872026-10-14
  • R21-11rel:R21-11#d76865812026-10-14
  • R22-11rel:R22-11#8c2a80882026-10-14
  • R23-11rel:R23-11#575d68862026-10-14
  • R24-11rel:R24-11#286748952026-10-14
  • R25-11rel:R25-11#286748952026-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 UdsMessage [SWS_DM_09012] Upstream: RS_Diag_04147

UdsMessage () noexcept;

non public default constructor. The default constructor is protected as we want to forbid, that UdsTransportProtocolHandlers do create UdsMessages on its own! Only DM is allowed to create and hands over UdsMessagePtrs to UdsTransportProtocolHandler.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_09012
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_09012@rel:R25-11#78230a9a
Content hash
78230a9a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_09012
Status: valid/unmigrated Version: rel:R25-11#c9baa661 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_DM_09012@rel:R25-11#c9baa661
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#78230a9a2026-09-30
  • R19-11rel:R19-11#73995c592026-10-14
  • R20-11rel:R20-11#0a39f1072026-10-14
  • R21-11rel:R21-11#0a39f1072026-10-14
  • R22-11rel:R22-11#46e811332026-10-14
  • R23-11rel:R23-11#294829f92026-10-14
  • R24-11rel:R24-11#44977ca32026-10-14
  • R25-11rel:R25-11#c9baa6612026-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 ~UdsMessage [SWS_DM_09010] Upstream: RS_Diag_04147

virtual ~UdsMessage () noexcept=default;

Destructing the uds message.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
Exception-Sicherheitexception safe

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

Record
AUTOSAR/AP/record/SWS_DM_09010
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_09010@rel:R25-11#878e531e
Content hash
878e531e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_09010
Status: valid/unmigrated Version: rel:R25-11#3728f16c 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_DM_09010@rel:R25-11#3728f16c
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#878e531e2026-09-30
  • R19-11rel:R19-11#7da6ac4b2026-10-14
  • R20-11rel:R20-11#002db0a02026-10-14
  • R21-11rel:R21-11#002db0a02026-10-14
  • R22-11rel:R22-11#be5d0d222026-10-14
  • R23-11rel:R23-11#311ce6c92026-10-14
  • R24-11rel:R24-11#e1b3e27b2026-10-14
  • R25-11rel:R25-11#3728f16c2026-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

Dokumentation der Enumerationen

enumeration TargetAddressType [SWS_DM_00296] Upstream: RS_Diag_04147

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

type of target address in UdsMessage

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Forwarding-Header#include "apext/diag/diag_fwd.h"
Scopeclass apext::diag::uds_transport::UdsMessage
SymbolTargetAddressType
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kPhysical=0 UdsMessage is physical addressed.
kFunctional=1 UdsMessage is functional addressed.

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

Record
AUTOSAR/AP/record/SWS_DM_00296
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00296@rel:R25-11#4c5d75c2
Content hash
4c5d75c2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00296
Status: valid/unmigrated Version: rel:R25-11#73c5d74a 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_DM_00296@rel:R25-11#73c5d74a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4c5d75c22026-09-30
  • R19-11rel:R19-11#529ba7a62026-10-14
  • R20-11rel:R20-11#1367eab12026-10-14
  • R21-11rel:R21-11#e71fec232026-10-14
  • R22-11rel:R22-11#1b4538a52026-10-14
  • R23-11rel:R23-11#caaa74622026-10-14
  • R24-11rel:R24-11#61f5ce732026-10-14
  • R25-11rel:R25-11#73c5d74a2026-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

Dokumentation der Typaliase

type alias Address [SWS_DM_00293] Upstream: RS_Diag_04147

using Address = std::uint16_t;

Type for UDS source and target addresses.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
SymbolAddress

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

Record
AUTOSAR/AP/record/SWS_DM_00293
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00293@rel:R25-11#d7355a38
Content hash
d7355a38
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00293
Status: valid/unmigrated Version: rel:R25-11#60819fb1 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_DM_00293@rel:R25-11#60819fb1
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#d7355a382026-09-30
  • R19-11rel:R19-11#93b31df92026-10-14
  • R20-11rel:R20-11#405f65e82026-10-14
  • R21-11rel:R21-11#405f65e82026-10-14
  • R22-11rel:R22-11#b1f533352026-10-14
  • R23-11rel:R23-11#69f7dbf82026-10-14
  • R24-11rel:R24-11#5bf59b412026-10-14
  • R25-11rel:R25-11#60819fb12026-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 alias MetaInfoMap [SWS_DM_00294] Upstream: RS_Diag_04147, RS_Diag_04170

using MetaInfoMap = ara::core::Map<ara::core::String, ara::core::String>;

Type for the meta information attached to a UdsMessage.

Header-Datei#include "apext/diag/uds_transport/uds_message.h"
Scopeclass apext::diag::uds_transport::UdsMessage
SymbolMetaInfoMap

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

Record
AUTOSAR/AP/record/SWS_DM_00294
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00294@rel:R25-11#be98419a
Content hash
be98419a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00294
Status: valid/unmigrated Version: rel:R25-11#0cf88911 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_DM_00294@rel:R25-11#0cf88911
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#be98419a2026-09-30
  • R19-11rel:R19-11#bd65d4472026-10-14
  • R20-11rel:R20-11#6dd1a4672026-10-14
  • R21-11rel:R21-11#6dd1a4672026-10-14
  • R22-11rel:R22-11#cd7575cf2026-10-14
  • R23-11rel:R23-11#b798cc222026-10-14
  • R24-11rel:R24-11#fbebf2ea2026-10-14
  • R25-11rel:R25-11#0cf889112026-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