DEENESPTFRRUARHIKOZHNL

فئة apext::diag::uds_transport::UdsTransportProtocolMgr

[SWS_DM_00306] Upstream: RS_Diag_04147, RS_Diag_04168

class UdsTransportProtocolMgr {...};

The UdsTransportProtocolMgr class manages the interaction between the Diagnostic Server instance(s) and various UDS Transport Protocols (e.g., DoIP[2], CAN[21]). It provides a standard, extensible API for handling transport-specific message reception and optional early payload access.

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
[21] ISO 15765-2 – Road vehicles – Diagnostics on Controller Area Networks (CAN) – Part2: Network layer services

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

دليل المستخدممولَّد بالذكاء الاصطناعي

ينسق تبادل رسائل UDS بين ملحقات طبقة النقل وطبقة الجلسة لخادم التشخيص (Diagnostic Server).
مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: d6f6643e28ac المصدر أسئلة مفتوحة (2)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

ينسق تبادل رسائل UDS بين ملحقات طبقة النقل وطبقة الجلسة لخادم التشخيص (Diagnostic Server).

تُدير الفئة apext::diag::uds_transport::UdsTransportProtocolMgr التفاعل بين Diagnostic Server وبروتوكولات نقل UDS محددة وفقًا لـ AUTOSAR AP SWS Diagnostics §7.1.1 «Support of UDS Transport Layer». وهي تتحكم في استقبال الرسائل ذي المرحلتين عبر الإشارة المسبقة والتمرير غير المتزامن إلى طبقة الجلسة، بالإضافة إلى إرجاع معلومات أحداث الإرسال ودورة الحياة ([SWS_DM_00309]، [SWS_DM_00311]). تم تصميم جميع استدعاءات الواجهة لتكون آمنة من الاستثناءات، ولكنها ليست آمنة من حيث خيوط التنفيذ (thread-safe).

السياق

تعمل الفئة apext::diag::uds_transport::UdsTransportProtocolMgr ككيان وساطة مركزي بين نسخ Diagnostic Server أو نواة DM (Session Layer) ومختلف بروتوكولات نقل UDS مثل DoIP أو CAN وفقًا لـ AUTOSAR AP SWS Diagnostics §7.1.1 «Support of UDS Transport Layer». وهي توفر واجهة قابلة للتوسيع تُبلّغ من خلالها ملحقات النقل الخاصة بالتنفيذ، والتي تشتق الفئة الأساسية UdsTransportProtocolHandler ([SWS_DM_00315])، عن رسائل UDS الواردة وتمرر تأكيدات النقل إلى نواة التشخيص. تفسير: يُرجّح أن يتم تشغيل نسخة المدير بواسطة Diagnostic Management كمكوّن وساطة طويل الأمد لتجميع واجهات النقل غير المتجانسة بشكل موحد. سؤال Q-79e155960156d04a (مفتوح)

MgrKontext SessionLayer Session Layer (DM Core) Mgr UdsTransportProtocolMgr Mgr->SessionLayer T_Data.ind Handler UdsTransportProtocolHandler Handler->Mgr IndicateMessage / HandleMessage Handler->Mgr TransmitConfirmation Handler->Mgr HandlerStopped / ChannelReestablished PeriodicHandler UdsTransportProtocolPeriodicHandler PeriodicHandler->Mgr PeriodicTransmitConfirmation

مخطط السياق: تضمين UdsTransportProtocolMgr بين معالجات طبقة النقل وطبقة الجلسة. المصادر: [SWS_DM_00309]، [SWS_DM_00311]، [SWS_DM_00312]، [SWS_DM_01069]، AUTOSAR AP SWS Diagnostics §7.1.1 «Support of UDS Transport Layer».

دورة الحياة

يتم التدمير عبر مُدمّر افتراضي ~UdsTransportProtocolMgr()، وهو محدد بـ noexcept = default ([SWS_DM_01524]). وأثناء التشغيل، يستجيب المدير لأحداث دورة حياة معالجات بروتوكول النقل المسجلة وفقًا لـ AUTOSAR AP SWS Diagnostics §7.1.1.1 «Initialization, Starting and Stopping of a UDS TransportLayer» و[SWS_DM_00329]: إذا تم إيقاف تشغيل معالج، فإنه يُبلّغ المدير بالاكتمال عبر HandlerStopped() ([SWS_DM_00314]). وإذا أصبحت قناة مفصولة سابقًا متاحة مرة أخرى، فسيتم إبلاغ المدير بذلك بعد التنشيط المسبق عبر ChannelReestablished() مع تحديد GlobalChannelIdentifier ([SWS_DM_00313]، [SWS_DM_09021]).

فيما يتعلق بملكيات الموارد، ينطبق تسليم صارم للمخزن المؤقت عند معالجة الرسائل باستخدام دلالات المؤشر الفريد (Unique-Pointer): تُنشئ نواة التشخيص عند الإعلان عن رسالة الكائن UdsMessagePtr وتسلّمه مؤقتًا إلى المعالج لملئه ([SWS_DM_00309]). وبعد الاستقبال الناجح أو عند إلغاء الإرسال، تُعاد ملكية الرسالة بالكامل إلى نواة DM العامة ([SWS_DM_00310]، [SWS_DM_00311]). صُنفت جميع دوال رد النداء (Callbacks) للواجهة بأنها آمنة من الاستثناءات (noexcept)، ولكنها صُنفت صراحةً بأنها ليست آمنة من حيث خيوط التنفيذ ([SWS_DM_00309]، [SWS_DM_00311]).

مسار الاستخدام

ينقسم المسار المعتاد لاستقبال رسالة UDS إلى مرحلتين متتاليتين. في البداية، يُشير معالج النقل إلى بدء رسالة عبر IndicateMessage() ([SWS_DM_00309]). ويتم هنا تمرير عنوان المصدر وعنوان الوجهة، ونوع العنونة (فيزيائي أو وظيفي)، ومعرّف القناة (Channel ID)، والحجم الإجمالي، بالإضافة إلى عرض بايت (Byte-View) لأولى البيانات المفيدة (payloadInfo). تتيح هذه المعلومات المسبقة لنواة التشخيص تقييم الطلبات مبكرًا، على سبيل المثال للتعرف على Tester Present وظيفي ([SWS_DM_00309]). وإذا قبلت النواة الطلب، يُعيد المدير الزوج المكوّن من IndicationResult::kIndicationOk ومخزن الرسالة المؤقت المراد ملؤه.

بمجرد أن يستقبل معالج النقل الرسالة كاملة، يُمررها عبر HandleMessage() إلى Session Layer ([SWS_DM_00311]). وهذا يطابق العنصر الأولي T_Data.ind من ISO 14229-2. تفسير: يُرجّح أن العودة الفورية المطلوبة من HandleMessage() تُنفّذ من خلال التسليم إلى قائمة انتظار داخلية لطبقة الجلسة، نظرًا لأن المعالجة الفعلية يجب أن تتم بشكل غير متزامن في الخلفية ([SWS_DM_00311]). سؤال Q-b6e97504ca3a3a95 (مفتوح) يؤكد المعالج عمليات الإرسال الصادرة بعد اكتمالها عبر TransmitConfirmation() ([SWS_DM_00312])، بينما يتم الإقرار بالرسائل الدورية عبر PeriodicTransmitConfirmation() ([SWS_DM_01069]).

تسلسل استقبال رسائل UDSUdsTransportProtocolHandlerUdsTransportProtocolMgrSession LayerUse Case: الإعلان عن الرسالةIndicateMessage(sourceAddr, targetAddr, type, channel, size, payloadInfo)Puffer anfordern & Validierungstd::pair(kIndicationOk, messagePtr)std::pair(kIndicationOk, messagePtr)Use Case: استقبال البيانات وتمريرهاNutzdaten in message schreibenHandleMessage(messagePtr)T_Data.ind(messagePtr)عودة فورية (غير متزامنة)العودة

مخطط التتابع: المسار النموذجي لاستقبال رسائل UDS عبر IndicateMessage وHandleMessage. المصادر: [SWS_DM_00309]، [SWS_DM_00311].

سيناريوهات الأخطاء

إذا لم تتمكن نواة DM من قبول رسالة مُعلن عنها، يفشل IndicateMessage() بالفعل. يُعرّف التعداد IndicationResult أسباب الخطأ لذلك: kIndicationOccupied (القناة مشغولة)، أو kIndicationOverflow (تجاوز سعة المخزن المؤقت)، أو kIndicationUnknownTargetAddress (عنوان وجهة غير معروف)، وبناءً على ذلك لا يتم توفير أي مخزن مؤقت للرسائل ([SWS_DM_00309]، [SWS_DM_00384]).

إذا حدث خطأ بعد إشارة مسبقة ناجحة أثناء النقل المستمر على مستوى طبقة النقل، بحيث لا يتحقق HandleMessage() بعد ذلك، يجب على المعالج حتمًا استدعاء NotifyMessageFailure() ([SWS_DM_00310]). وبذلك يُعاد مخزن الرسالة المؤقت المخصص مسبقًا بشكل مضبوط إلى Session Layer ويتم تحريره. وفي عمليات الإرسال، يُبلّغ TransmitConfirmation() عن النتيجة عبر TransmissionResult؛ وإذا فشل الإرسال على مستوى الشبكة، يتم إرسال kTransmitFailed ([SWS_DM_00307]، [SWS_DM_00312]).

يستند هذا الدليل حصرًا إلى مواصفة AUTOSAR للإصدار R25-11.

خريطة الأعضاء

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

مخطط الفئة

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

G napext__diag__uds_transport__UdsTransportProtocolMgr247 UdsTransportProtocolMgr + ~UdsTransportProtocolMgr() + ChannelReestablished() + HandleMessage() + HandlerStopped() + IndicateMessage() + NotifyMessageFailure() + PeriodicTransmitConfirmation() + TransmitConfirmation()

عرض التفاصيل

اختر عنصرًا من المخطط.

Objektlebenszyklus

Destructor of class UdsTransportProtocolMgr.

virtual ~UdsTransportProtocolMgr () noexcept=default;

Nachrichtenempfang

HandleMessage دالة

Hands over a valid received UDS message (currently this is only a request type) from the Transport Layer to the Session Layer. This corresponds to T_Data.ind of Figure 2 from ISO 14229-2[25]. The behavior is asynchronously, i.e. the UDS Message is handed over to the Session Layer and it is expected, that it "instantly" returns, which means, that real processing of the message shall be done asynchronously by the Transport Layer!

virtual void HandleMessage (UdsMessagePtr message) noexcept=0;

Indicates a message start. This is an interface, which is just served/called by UdsTransportProtocolHandlers, which return TRUE from UdsTransportProtocolHandlers::isStartOfMessageIndicationSupported().

virtual std::pair< IndicationResult, UdsMessagePtr > IndicateMessage ( UdsMessage::Address sourceAddr, UdsMessage::Address targetAddr, Uds Message::TargetAddressType type, GlobalChannelIdentifier globalChannel Id, std::size_t size, ara::core::Span< const std::uint8_t > payload Info) noexcept=0;
IndicationResult تعداد

Allowed return values from the DM Server to the Transport Protocol Handler Instance for the received IndicateMessage.

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

Fehlerbehandlung

Indicates, that the message indicated via IndicateMessage() has failure and will not lead to a final HandleMessage() call.

virtual void NotifyMessageFailure (UdsMessagePtr message) noexcept=0;

Sendebestätigung

Confirmation of sent messages and number.

virtual void PeriodicTransmitConfirmation (ara::core::Vector< Uds MessageConstPtr > messages, std::size_t numberOfSentMessages) noexcept=0;

Notification about the outcome of a transmit request called by core DM at the handler via Uds TransportProtocolHandler::Transmit(). This transmit API covers T_Data.con of ISO 14229-2[25] Figure 2.

virtual void TransmitConfirmation (UdsMessageConstPtr message, TransmissionResult result) noexcept=0;

Values denoting the Transmission Confirmation Result provided by the Transport Protocol Handler Instance to the DM Server.

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

Kanal- und Handlersteuerung

Notification call from the given transport protocol channel, that it has been reestablished since the last (Re)Start from the UdsTransportProtocolHandler to which this channel belongs. To activate this notification a previous call to UdsTransportProtocolHandler::Notify Reestablishment() has to be done. See further documentation at UdsTransport ProtocolHandler::NotifyReestablishment().

virtual void ChannelReestablished (GlobalChannelIdentifier global ChannelId) noexcept=0;

Notification call from handler, that it has stopped now (e.g. closed down network connections, freed resources, etc...) This callback is expected as a reaction from handler to a call to UdsTransportProtocol Handler::Stop().

virtual void HandlerStopped (UdsTransportProtocolHandlerID handlerId) noexcept=0;
GlobalChannelIdentifier اسم نوع بديل

Type of tuple to pack UdsTransportProtocolHandlerID and ChannelID together, to form a global unique (among all used UdsTransportProtocolHandlers within DM) identifier of a Uds TransportProtocol channel.

using GlobalChannelIdentifier = std::tuple<UdsTransportProtocolHandler ID, ChannelID>;

توثيق الدوال

دالة ChannelReestablished [SWS_DM_00313] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00122, RS_Diag_04147, RS_Diag_04168

virtual void ChannelReestablished (GlobalChannelIdentifier global ChannelId) noexcept=0;

Notification call from the given transport protocol channel, that it has been reestablished since the last (Re)Start from the UdsTransportProtocolHandler to which this channel belongs. To activate this notification a previous call to UdsTransportProtocolHandler::Notify Reestablishment() has to be done. See further documentation at UdsTransport ProtocolHandler::NotifyReestablishment().

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 0a7e82ca2c53 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تُستخدم الطريقة ChannelReestablished من الفئة apext::diag::uds_transport::UdsTransportProtocolMgr كإشعار من تنفيذ بروتوكول نقل UDS إلى Diagnostic Management (DM) يفيد بأن قناة اتصال أصبحت متاحة مجددًا بعد (إعادة) التشغيل [SWS_DM_00313]. يستدعي تنفيذ بروتوكول النقل هذه الطريقة مرة واحدة فقط بمجرد اكتشاف إعادة توفر قناة الشبكة الممثلة بـ ChannelID [SWS_DM_00358]. ويتم تمرير globalChannelId كمعلمة، متكونًا من صف يحتوي على handlerIdent الخاص به و ChannelID [SWS_DM_00358].

التفاعل ودورة الحياة

الشرط المسبق للإشعار هو استدعاء سابق لـ NotifyReestablishment [SWS_DM_00313]، [SWS_DM_00356]. حالة الاستخدام النموذجية هي إجراء إعادة ضبط لـ ECU (خدمة UDS 0x11) مع خيار استجابة إيجابية بعد إعادة التشغيل [SWS_DM_00326]. ولضمان الإشعار حتى بعد إعادة تشغيل DM، يجب حفظ طلب الإشعار بشكل دائم بواسطة بروتوكول النقل [SWS_DM_00359].

معالجة الأخطاء والتزامن

لا تمتلك الدالة أي قيمة إرجاع ومحددة كـ noexcept (exception safe) [SWS_DM_00313]. ونظرًا لأن الواجهة مصنفة على أنها غير آمنة خيطيًا (not thread-safe) [SWS_DM_00313]، فمن المرجح أن يتعين على المعالجات المستدعية مزامنة الوصول خارجيًا. سؤال Q-aaf14893457cceb6 (مفتوح) كقيد زمني، لا يُسمح لـ DM بمعالجة استدعاء ChannelReestablished إلا بعد استدعاء UdsTransportProtocolHandler::Start [SWS_DM_01744].

تم إنشاء هذا النص تلقائيًا بواسطة ذكاء اصطناعي بناءً على مواصفة AUTOSAR ذات الإصدار R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

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

Parameter (in)

ParameterBeschreibung
globalChannelIdtransport protocol channel, which is available again.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00313
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00313@rel:R25-11#bd4da5cd
Content hash
bd4da5cd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00313
Status: valid/unmigrated Version: rel:R25-11#4c5b70ac 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_00313@rel:R25-11#4c5b70ac
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#dacc8bb22026-09-30
  • R19-11rel:R19-11#acd4155f2026-10-14
  • R20-11rel:R20-11#9235fd502026-10-14
  • R21-11rel:R21-11#b392eb2d2026-10-14
  • R22-11rel:R22-11#b01162a42026-10-14
  • R23-11rel:R23-11#f88cee172026-10-14
  • R24-11rel:R24-11#867edbc12026-10-14
  • R25-11rel:R25-11#4c5b70ac2026-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

دالة HandleMessage [SWS_DM_00311] Upstream: RS_Diag_04147, RS_Diag_04168

virtual void HandleMessage (UdsMessagePtr message) noexcept=0;

Hands over a valid received UDS message (currently this is only a request type) from the Transport Layer to the Session Layer. This corresponds to T_Data.ind of Figure 2 from ISO 14229-2[25]. The behavior is asynchronously, i.e. the UDS Message is handed over to the Session Layer and it is expected, that it "instantly" returns, which means, that real processing of the message shall be done asynchronously by the Transport Layer!

Literaturverzeichnis SWS Diagnostics: [25] ISO 14229-2(2021) – Unified diagnostic services (UDS) - Part 2: Session layer services (Release 2021-10) – www.iso.org

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: eea0d4e77276 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم الطريقة HandleMessage لتمرير رسالة طلب UDS صالحة ومستلَمة بالكامل من طبقة النقل إلى طبقة الجلسة في إدارة التشخيص ([SWS_DM_00311]). ويتوافق هذا مع الخدمة T_Data.ind وفقًا للمعيار ISO 14229-2 ([SWS_DM_00311]، AUTOSAR_AP_SWS_Diagnostics §C.2.1.2.2.2 «HandleMessage»).

الاستدعاء والمعاملات

بمجرد أن يملأ تنفيذ بروتوكول النقل حمولة ذاكرة التخزين المؤقت المطلوبة مسبقًا عبر IndicateMessage ([SWS_DM_00388])، فإنه يستدعي HandleMessage على نسخة apext::diag::uds_transport::UdsTransportProtocolMgr ([SWS_DM_00345]). وتُمرر الوسيطة message من النوع UdsMessagePtr. ومن خلال دلالات std::unique_ptr، تعود ملكية رسالة UDS إلى نواة DM العامة ([SWS_DM_00311]). ولا تُرجع الدالة أي قيمة.

الدلالات والتزامن ومعالجة الأخطاء

  • اللاتزامن: يجب أن يعود الاستدعاء فورًا ("instantly returns") ([SWS_DM_00311]). التفسير: يُرجح أن تستمر المعالجة الفعلية لطلب التشخيص في نواة DM بشكل غير متزامن في سياق تنفيذ منفصل. سؤال Q-b8dd1a5f3d2dcdf0 (مفتوح)
  • حالة الخطأ: تم التصريح عن الطريقة كـ noexcept وهي آمنة من الاستثناءات ([SWS_DM_00311]). وإذا فشل الاستلام أو ملء الرسالة، يجب عدم إجراء أي استدعاء لـ HandleMessage؛ وبدلًا من ذلك، يجب الإبلاغ عن الخطأ عبر NotifyMessageFailure ([SWS_DM_00310]).
  • أمان الخيوط: تم تحديد العملية كـ not thread-safe ([SWS_DM_00311]). ويجب على المتصلين مزامنة عمليات الوصول المتوازية إلى النسخة نفسها.

تفاعل

تنتمي الواجهة إلى طبقة بروتوكول النقل ويجب تمييزها عن طريقة معالجة الخدمة من جانب التطبيق ara::diag::GenericUDSService::HandleMessage ([SWS_DM_00618]).

تم إنشاء هذا النص تلقائيًا. وتستند جميع المعلومات حصريًا إلى حالة المواصفة R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

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

Parameter (in)

ParameterBeschreibung
messageThe UDS message ptr (unique_ptr semantics) with the request. Ownership of the UDS Message is given back to the generic DM core here.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00311
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00311@rel:R25-11#e90205ea
Content hash
e90205ea
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00311
Status: valid/unmigrated Version: rel:R25-11#25c5615f 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_00311@rel:R25-11#25c5615f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1d9aefcf2026-09-30
  • R19-11rel:R19-11#cb8d6db52026-10-14
  • R20-11rel:R20-11#307c47612026-10-14
  • R21-11rel:R21-11#307c47612026-10-14
  • R22-11rel:R22-11#fd0648c82026-10-14
  • R23-11rel:R23-11#4d3583a52026-10-14
  • R24-11rel:R24-11#779e87e62026-10-14
  • R25-11rel:R25-11#25c5615f2026-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

دالة HandlerStopped [SWS_DM_00314] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00122, RS_Diag_04147, RS_Diag_04168

virtual void HandlerStopped (UdsTransportProtocolHandlerID handlerId) noexcept=0;

Notification call from handler, that it has stopped now (e.g. closed down network connections, freed resources, etc...) This callback is expected as a reaction from handler to a call to UdsTransportProtocol Handler::Stop().

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 265cc47567e6 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

تُستخدم طريقة معاودة الاتصال الافتراضية البحتة HandlerStopped لواجهة الإدارة apext::diag::uds_transport::UdsTransportProtocolMgr كاستجابة من ملحق نقل UDS إلى Diagnostic Manager (DM)، تفيد بأن تنفيذه قد انتهى وتم تحرير جميع الموارد المرتبطة واتصالات الشبكة بالكامل [SWS_DM_00314]. ويُتوقع هذا الاستدعاء كرد فعل إلزامي من المعالج على استدعاء سابق لـ UdsTransportProtocolHandler::Stop() [SWS_DM_00314]، [SWS_DM_00323].

سياق الاستدعاء والمعلمات: يُعرّف المكون الإضافي المعني نفسه عند الاستدعاء عبر معلَم الإدخال handlerId من النوع UdsTransportProtocolHandlerID [SWS_DM_00314]. لا تمتلك الطريقة قيمة إرجاع (void) وتضمن أماناً كاملاً من الاستثناءات (exception safe) من خلال تحديدها كـ noexcept [SWS_DM_00314]. لم يتم تحديد رموز أخطاء معينة أو ردود فعل على الأخطاء أو إخطارات إلى DET أو DEM لهذه الواجهة.

التسلسل والقيود: إذا انتقل Diagnostic Manager أثناء عملية إيقاف التشغيل إلى الحالة ApplicationState.kTerminating، فإنه يستدعي أولاً Stop() في كل تطبيق بدأ لبروتوكول نقل UDS [SWS_DM_00333]. بعد العودة من Stop()، يسري حظر استدعاء صارم: لا يجوز للمكون الإضافي للمعالج استدعاء أي طرق أخرى على UdsTransportProtocolMgr، باستثناء HandlerStopped [SWS_DM_01741]، [SWS_DM_00323]. قبل الإنهاء النهائي لعملية DM، ينتظر هذا الأخير وصول رد الاتصال HandlerStopped المعني مع handlerId المطابق [SWS_DM_00340]. تم تصنيف الواجهة على أنها غير آمنة لخيوط المعالجة (not thread-safe) [SWS_DM_00314]. تفسير: نظراً لأن DM ينتظر وصول رد الاتصال بشكل منفصل، فمن المرجح أن يتم الإنهاء الفعلي لاتصالات الشبكة في المكون الإضافي بشكل غير متزامن مع العودة من الطريقة Stop(). سؤال Q-40829d46bd661337 (مفتوح)

تم إنشاء ملاحظة الاستخدام هذه تلقائيًا بناءً على مواصفة AUTOSAR R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

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

Parameter (in)

ParameterBeschreibung
handlerIdindication, which plugin stopped.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00314
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00314@rel:R25-11#4b74dc5a
Content hash
4b74dc5a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00314
Status: valid/unmigrated Version: rel:R25-11#0cc2f185 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_00314@rel:R25-11#0cc2f185
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8489c37a2026-09-30
  • R19-11rel:R19-11#4212b1402026-10-14
  • R20-11rel:R20-11#f5d072332026-10-14
  • R21-11rel:R21-11#d2e1ff562026-10-14
  • R22-11rel:R22-11#0b5685c52026-10-14
  • R23-11rel:R23-11#43fb4c882026-10-14
  • R24-11rel:R24-11#33d1abec2026-10-14
  • R25-11rel:R25-11#0cc2f1852026-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

دالة IndicateMessage [SWS_DM_00309] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00122, RS_Diag_04147, RS_Diag_04168

virtual std::pair< IndicationResult, UdsMessagePtr > IndicateMessage ( UdsMessage::Address sourceAddr, UdsMessage::Address targetAddr, Uds Message::TargetAddressType type, GlobalChannelIdentifier globalChannel Id, std::size_t size, ara::core::Span< const std::uint8_t > payload Info) noexcept=0;

Indicates a message start. This is an interface, which is just served/called by UdsTransportProtocolHandlers, which return TRUE from UdsTransportProtocolHandlers::isStartOfMessageIndicationSupported().

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 892a371d0de7 المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

يتم استدعاء الطريقة IndicateMessage [SWS_DM_00309] للفئة apext::diag::uds_transport::UdsTransportProtocolMgr بشكل متزامن بواسطة UdsTransportProtocolHandler، عندما يلزم الإشارة إلى بدء استلام رسالة UDS ويكون المعالج يدعم ذلك. يمرر المتصل عنوان المصدر والهدف (sourceAddr، targetAddr)، ونوع العنونة type (مادي أو وظيفي)، ومعرف القناة globalChannelId، والحجم الإجمالي المتوقع size، بالإضافة إلى رؤية بايتات اختيارية لبيانات الحمولة المستلمة بالفعل (payloadInfo). يُوصى بتوفير بايتين على الأقل في payloadInfo، لكي يتمكن Diagnostic Management Core من التعرف على الطلبات الوظيفية مثل Tester-Present (منطق التجاوز) حتى أثناء المعالجة الجارية AUTOSAR_AP_SWS_Diagnostics §7.1 «UDS Transport Layer».

كقيمة إرجاع، يقدم الاستدعاء المتزامن والآمن من الاستثناءات std::pair يتكون من IndicationResult [SWS_DM_00384] وUdsMessagePtr [SWS_DM_00309]:

  • القبول: إذا كان بالإمكان معالجة الرسالة، يُرجع DM Core IndicationResult::kIndicationOk مصحوبًا بـ UdsMessagePtr صالح، وتكون سعته الدنيا بايت واحد على الأقل [SWS_DM_00385].
  • الرفض وحالات الخطأ: إذا كان DM مشغولاً، فإنه يستجيب بـ kIndicationOccupied وnullptr [SWS_DM_00386]. وفي حال كان عنوان الوجهة غير صالح، يتم إرجاع kIndicationUnknownTargetAddress مع مؤشر فارغ. قيم الحالة الإضافية المحددة هي kIndicationOverflow [SWS_DM_00384].

فيما يتعلق بالتزامن وفترة الصلاحية، تم تحديد الطريقة بأنها غير آمنة لمؤشرات الترابط (not thread-safe) [SWS_DM_00309]؛ وبالتالي يجب أن تتم الاستدعاءات بشكل متزامن وفقًا لذلك. الرؤية الممررة عبر payloadInfo مؤقتة ولا يجوز استخدامها إلا داخل استدعاء هذه الدالة فقط [SWS_DM_00309].

في المسار اللاحق، تملأ طبقة النقل عند إرجاع kIndicationOk المخزن المؤقت المقدم عبر GetPayload [SWS_DM_00301] حتى حد السعة أو طول الرسالة الكامل [SWS_DM_00388]. وبعد التعبئة الناجحة، يتم استدعاء HandleMessage [SWS_DM_00345]. وإذا فشل استلام الرسالة قبل الأوان، يجب على المعالج إرجاع المخزن المؤقت عبر NotifyMessageFailure [SWS_DM_00310] إلى DM.

تم إنشاء هذا النص بواسطة ذكاء اصطناعي وهو مخصص للإرشاد والتوجيه.

دليل المنفِّذ قيد الإعداد (التعقيد I3)

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

Parameter (in)

ParameterBeschreibung
sourceAddrUDS source address of the message.
targetAddrUDS target address of the message.
typeIndication whether the request is kPhysical or kFunctional addressed.
globalChannelIdTransport Protocol Channel on which the message start happened.
sizeSize in bytes of the UdsMessage starting from SID.
payloadInfoView onto the first received payload bytes, if any. This view shall be used only within this function call. It is recommended that the Transport Protocol provides at least the first two bytes of the request message, so the DM can identify a functional Tester Present. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.

Rückgabewert

TypBeschreibung
std::pair< IndicationResult, UdsMessagePtr>Pair of IndicationResult and a pointer to UDS Message owned/created by DM core and returned to the handler to get filled.

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

Record
AUTOSAR/AP/record/SWS_DM_00309
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00309@rel:R25-11#4dcd2c98
Content hash
4dcd2c98
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00309
Status: valid/unmigrated Version: rel:R25-11#38e7de31 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_00309@rel:R25-11#38e7de31
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#04055a8d2026-09-30
  • R19-11rel:R19-11#bfb192392026-10-14
  • R20-11rel:R20-11#8e14a6b72026-10-14
  • R21-11rel:R21-11#66a0b1c12026-10-14
  • R22-11rel:R22-11#2f212c252026-10-14
  • R23-11rel:R23-11#1d9e17452026-10-14
  • R24-11rel:R24-11#674af7dd2026-10-14
  • R25-11rel:R25-11#38e7de312026-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

دالة NotifyMessageFailure [SWS_DM_00310] Upstream: RS_Diag_04147, RS_Diag_04168

virtual void NotifyMessageFailure (UdsMessagePtr message) noexcept=0;

Indicates, that the message indicated via IndicateMessage() has failure and will not lead to a final HandleMessage() call.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 1ed3e3a2e8d6 المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تتوفر الطريقة الافتراضية الصرفة NotifyMessageFailure عبر ملف الترويسة apext/diag/uds_transport/protocol_mgr.h في الواجهة apext::diag::uds_transport::UdsTransportProtocolMgr [SWS_DM_00310]. وتُستخدم لتنفيذ بروتوكول النقل للإشارة إلى Diagnostic Management بأن رسالة تمت الإشارة إليها سابقًا عبر IndicateMessage() قد فشلت وأنه لن يحدث أي استدعاء نهائي لـ HandleMessage() [SWS_DM_00345] بعد الآن [SWS_DM_00310]. ويتم تمرير المؤشر message من النوع UdsMessagePtr كمعلمة، وبذلك تُعاد الرسالة المعنية إلى طبقة الجلسة [SWS_DM_00310]. ولا توجد قيمة إرجاع (void).

معالجة الأخطاء والتزامن

تم التصريح بالدالة كـ noexcept وآمنة من الاستثناءات [SWS_DM_00310]. وهي لا تطلق استثناءات وتبلغ عن حالات إلغاء الإرسال فقط عبر واجهة المعلمات. وفيما يتعلق بالتزامن، تم تصنيف الطريقة على أنها غير آمنة خيطيًا (not thread-safe) [SWS_DM_00310]. التفسير: من المرجح أن يتعين على المتصلين ضمان التزامن الخارجي في حالة المعالجة المتوازية على مستوى بروتوكول النقل. سؤال Q-8d9b3a3561b9b6ac (مفتوح)

التفاعل والتسلسل

في المسار العادي، يملأ بروتوكول النقل بعد IndicateMessage() ناجح حمولة UdsMessage [SWS_DM_00388] ويمررها عبر HandleMessage() إلى Diagnostic Management [SWS_DM_00345]. أما إذا فشل الإرسال – على سبيل المثال عند حدوث أخطاء أثناء استقبال طلب متعدد الإطارات (Multi-Frame) –، فيُستدعى NotifyMessageFailure بدلاً من ذلك [SWS_DM_00310]. يمنع هذا استدعاءات المعالجة اللاحقة ويؤثر على إدارة الجلسة: فبينما يتم إيقاف مؤقت S3Server عند بدء الاستقبال [SWS_DM_00383]، يؤدي خطأ استقبال رسالة متعددة الإطارات إلى إعادة تعيين مؤقت S3Server وبدء العد من البداية (SWS Diagnostics §7.3.2.7 «Session handling» / [SWS_DM_00310]).

تم إنشاء ملاحظة الاستخدام هذه بواسطة ذكاء اصطناعي بناءً على مواصفة AUTOSAR ذات الإصدار R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

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

Parameter (in)

ParameterBeschreibung
messagePointer to the UDS Message handed back over to the Session Layer.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00310
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00310@rel:R25-11#3dffb5aa
Content hash
3dffb5aa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00310
Status: valid/unmigrated Version: rel:R25-11#533ed88a 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_00310@rel:R25-11#533ed88a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#e7beffc22026-09-30
  • R19-11rel:R19-11#bf0753592026-10-14
  • R20-11rel:R20-11#126bf37a2026-10-14
  • R21-11rel:R21-11#da1ddcf72026-10-14
  • R22-11rel:R22-11#f198f39e2026-10-14
  • R23-11rel:R23-11#501c9dff2026-10-14
  • R24-11rel:R24-11#c8c1a8962026-10-14
  • R25-11rel:R25-11#533ed88a2026-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

دالة PeriodicTransmitConfirmation [SWS_DM_01069] Upstream: RS_Diag_04215

virtual void PeriodicTransmitConfirmation (ara::core::Vector< Uds MessageConstPtr > messages, std::size_t numberOfSentMessages) noexcept=0;

Confirmation of sent messages and number.

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: 001a65962260 المصدر
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تُعد الدالة الافتراضية الصرفة PeriodicTransmitConfirmation جزءًا من الفئة apext::diag::uds_transport::UdsTransportProtocolMgr ويتم التصريح عنها عبر ملف الرأس apext/diag/uds_transport/protocol_mgr.h [SWS_DM_01069]. وتُستخدم لتأكيد رسائل التشخيص الدورية المُرسلة وكذلك لنقل عدد الرسائل المُرسلة بنجاح AUTOSAR_AP_SWS_Diagnostics §C.2.1.2.2.6 «PeriodicTransmitConfirmation».

عند الاستدعاء، يتم تمرير معاملي إدخال، بينما لا تُرجع الدالة أي قيمة:

  • messages (ara::core::Vector<UdsMessageConstPtr>): نفس القائمة المرتبة من الرسائل التي تم تمريرها مسبقًا إلى الدالة UdsTransportProtocolPeriodicHandler::PeriodicTransmit() [SWS_DM_01069].
  • numberOfSentMessages (std::size_t): عدد الرسائل المنقولة بنجاح من القائمة messages [SWS_DM_01069].

معالجة الأخطاء وأمان الاستثناءات

فيما يتعلق بالأمان من الاستثناءات، تم تحديد الواجهة بأنها exception safe ومزودة بالمُعرّف noexcept [SWS_DM_01069]. وبالتالي فهي لا تُطلق أي استثناءات C++. ولم تحدد المواصفة رموز أخطاء معينة أو رسائل أخطاء عبر DET أو DEM لدالة التأكيد هذه.

التزامن والشروط الحدية

وفقًا للمواصفة، صُنفت الدالة بأنها غير آمنة لخيوط المعالجة (not thread-safe) [SWS_DM_01069]. وبناءً على ذلك، فإن الاستدعاءات المتزامنة على نفس المثيل غير مؤمنة ويجب تنسيقها بواسطة المتصل.

تفاعل

ترتبط الدالة مباشرة بتدفق الإرسال الدوري: فهي تستقبل التأكيد بشأن الرسائل المنقولة فعليًا بعد استدعاء UdsTransportProtocolPeriodicHandler::PeriodicTransmit() AUTOSAR_AP_SWS_Diagnostics §C.2.1.2.2.6 «PeriodicTransmitConfirmation». وعلى مستوى المتطلبات، تم تعيين الدالة للمتطلب الأصلي RS_Diag_04215 [SWS_DM_01069].

تم إنشاء ملاحظة الاستخدام هذه بواسطة ذكاء اصطناعي استنادًا إلى مواصفة AUTOSAR R25-11.

دليل المنفِّذ قيد الإعداد (التعقيد I1)

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

Parameter (in)

ParameterBeschreibung
messagesThe same ordered list of messages previously passed to Uds TransportProtocolPeriodicHandler::Periodic Transmit().
numberOfSentMessagesThe number of successfully sent messages from the "messages" list.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_01069
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01069@rel:R25-11#f387b5b2
Content hash
f387b5b2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01069
Status: valid/unmigrated Version: rel:R25-11#53ff341c Versionshistorie & Revisions (1 transition, 7 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_01069@rel:R25-11#53ff341c
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#bcf47ee92026-09-30
  • R20-11rel:R20-11#92ace4d82026-10-14
  • R21-11rel:R21-11#cd6fd2542026-10-14
  • R22-11rel:R22-11#55d5fcb22026-10-14
  • R23-11rel:R23-11#389cb5052026-10-14
  • R24-11rel:R24-11#986d318f2026-10-14
  • R25-11rel:R25-11#53ff341c2026-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

دالة TransmitConfirmation [SWS_DM_00312] Upstream: RS_Diag_04172, RS_Diag_04147, RS_Diag_04168

virtual void TransmitConfirmation (UdsMessageConstPtr message, TransmissionResult result) noexcept=0;

Notification about the outcome of a transmit request called by core DM at the handler via Uds TransportProtocolHandler::Transmit(). This transmit API covers T_Data.con of ISO 14229-2[25] Figure 2.

Literaturverzeichnis SWS Diagnostics: [25] ISO 14229-2(2021) – Unified diagnostic services (UDS) - Part 2: Session layer services (Release 2021-10) – www.iso.org

مُولَّد بالذكاء الاصطناعي غير مُراجَع النموذج: gemini-3.8-flash-medium · الجهد: medium · درجة الحرارة: غير قابل للتحكم · الموجّه: b51c331436fa المصدر أسئلة مفتوحة (1)
مترجم من الدليل الألمانيgemini-3.8-flash-low · 2026-10-13 · الأصل الألماني

الاستخدام

تُستخدم الطريقة الافتراضية الصرفة TransmitConfirmation للواجهة apext::diag::uds_transport::UdsTransportProtocolMgr لإخطار Diagnostic Management (DM) باكتمال أمر إرسال تم بدؤه مسبقًا بواسطة DM عبر UdsTransportProtocolHandler::Transmit [SWS_DM_00312] [SWS_DM_00348]. وتنفّذ الدالة الخدمة الأولية T_Data.con وفقًا للمعيار ISO 14229-2 [SWS_DM_00312].

عند الاستدعاء، يتم تمرير معلمتين [SWS_DM_00312]:

  • message (UdsMessageConstPtr): مؤشر إلى رسالة UDS التي تم توفيرها مسبقًا في IndicateMessage() ويجري تأكيد إرسالها [SWS_DM_00312].
  • result (TransmissionResult): يشير إلى نتيجة الإرسال. إذا تمكنت طبقة الشبكة من إخراج استجابة UDS بنجاح إلى الشبكة، يجب تعيين القيمة على kTransmitOk، وإلا فعلى kTransmitFailed [SWS_DM_00351] SWS Diagnostics §7.1.1.3 «Confirmation Result».

لا تملك الطريقة أي قيمة إرجاع (void) ومصرّح عنها كـ noexcept، ولهذا السبب يجب تنفيذها بأمان من الاستثناءات [SWS_DM_00312].

التزامن وسلوك النظام

تم تحديد الواجهة صراحةً على أنها غير آمنة خيطيًا [SWS_DM_00312]. وبالتالي، يُرجح أن تتطلب الاستدعاءات من سياقات الشبكة أو المعالِجات المتزامنة مزامنة خارجية بواسطة تنفيذ بروتوكول النقل. سؤال Q-e540ca89c3f61ecb (مفتوح)

بالإضافة إلى ذلك، يؤثر الاستدعاء على إدارة المصادقة: إذا كان العميل في الجلسة القياسية وفي الحالة kAuthenticated، ينقله خادم التشخيص إلى الحالة kDeAuthenticated إذا لم يتم استلام أي طلب جديد بعد آخر TransmitConfirmation لمدة authenticationTimeout [SWS_DM_01210].

أُنشئ هذا النص بواسطة ذكاء اصطناعي وهو مخصص للإرشاد التقني.

دليل المنفِّذ قيد الإعداد (التعقيد I2)

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

Parameter (in)

ParameterBeschreibung
messageFor which message (created in IndicateMessage()) this is the confirmation.
resultResult of transmission. In case the UDS message could be transmitted on network layer kTransmitOk, else kTransmitFailed.

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00312
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00312@rel:R25-11#18dee46b
Content hash
18dee46b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00312
Status: valid/unmigrated Version: rel:R25-11#222a75d3 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_00312@rel:R25-11#222a75d3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#677d428f2026-09-30
  • R19-11rel:R19-11#212d61dd2026-10-14
  • R20-11rel:R20-11#a10ea9422026-10-14
  • R21-11rel:R21-11#71d0b62f2026-10-14
  • R22-11rel:R22-11#550859bf2026-10-14
  • R23-11rel:R23-11#54312aac2026-10-14
  • R24-11rel:R24-11#9aca7ec12026-10-14
  • R25-11rel:R25-11#222a75d32026-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

دالة ~UdsTransportProtocolMgr [SWS_DM_01524] Upstream: RS_AP_00134

virtual ~UdsTransportProtocolMgr () noexcept=default;

Destructor of class UdsTransportProtocolMgr.

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

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

Record
AUTOSAR/AP/record/SWS_DM_01524
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01524@rel:R25-11#1ef4f129
Content hash
1ef4f129
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01524
Status: valid/unmigrated Version: rel:R25-11#573fe30c 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_DM_01524@rel:R25-11#573fe30c
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#49e2bed92026-09-30
  • R22-11rel:R22-11#d451921a2026-10-14
  • R23-11rel:R23-11#91e882962026-10-14
  • R24-11rel:R24-11#df6540502026-10-14
  • R25-11rel:R25-11#573fe30c2026-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

توثيق التعدادات

تعداد IndicationResult [SWS_DM_00384] Upstream: RS_Diag_04147, RS_Diag_04168

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

Allowed return values from the DM Server to the Transport Protocol Handler Instance for the received IndicateMessage.

Header-Datei#include "apext/diag/uds_transport/protocol_mgr.h"
Forwarding-Header#include "apext/diag/diag_fwd.h"
Scopeclass apext::diag::uds_transport::UdsTransportProtocolMgr
SymbolIndicationResult
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kIndicationOk=0 Indication Ok.
kIndicationOccupied=1 Indication Occupied.
kIndicationOverflow=2 Indication Overflow.
kIndicationUnknownTargetAddress=3 Indication UnknownTargetAddress.

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

Record
AUTOSAR/AP/record/SWS_DM_00384
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00384@rel:R25-11#9952f078
Content hash
9952f078
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00384
Status: valid/unmigrated Version: rel:R25-11#fc9e7b47 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_00384@rel:R25-11#fc9e7b47
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a696d1622026-09-30
  • R19-11rel:R19-11#d4b8e2312026-10-14
  • R20-11rel:R20-11#099ea9052026-10-14
  • R21-11rel:R21-11#b33d8fec2026-10-14
  • R22-11rel:R22-11#ecd3c6072026-10-14
  • R23-11rel:R23-11#707e152a2026-10-14
  • R24-11rel:R24-11#4437e4182026-10-14
  • R25-11rel:R25-11#fc9e7b472026-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

تعداد TransmissionResult [SWS_DM_00307] Upstream: RS_Diag_04172, RS_Diag_04147, RS_Diag_04168

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

Values denoting the Transmission Confirmation Result provided by the Transport Protocol Handler Instance to the DM Server.

Header-Datei#include "apext/diag/uds_transport/protocol_mgr.h"
Forwarding-Header#include "apext/diag/diag_fwd.h"
Scopeclass apext::diag::uds_transport::UdsTransportProtocolMgr
SymbolTransmissionResult
Basistypstd::uint8_t

Werte

EnumeratorBeschreibung
kTransmitOk=0 Transmission Ok.
kTransmitFailed=1 Transmission Failed.

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

Record
AUTOSAR/AP/record/SWS_DM_00307
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00307@rel:R25-11#88a3243e
Content hash
88a3243e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00307
Status: valid/unmigrated Version: rel:R25-11#a96e1afe 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_00307@rel:R25-11#a96e1afe
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bb7c59332026-09-30
  • R19-11rel:R19-11#3c5bd3e02026-10-14
  • R20-11rel:R20-11#1a40da8a2026-10-14
  • R21-11rel:R21-11#1a40da8a2026-10-14
  • R22-11rel:R22-11#dd385c782026-10-14
  • R23-11rel:R23-11#d63bd68e2026-10-14
  • R24-11rel:R24-11#0774c6bd2026-10-14
  • R25-11rel:R25-11#a96e1afe2026-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

توثيق أسماء الأنواع البديلة

اسم نوع بديل GlobalChannelIdentifier [SWS_DM_09021] Upstream: RS_Diag_04147, RS_Diag_04168

using GlobalChannelIdentifier = std::tuple<UdsTransportProtocolHandler ID, ChannelID>;

Type of tuple to pack UdsTransportProtocolHandlerID and ChannelID together, to form a global unique (among all used UdsTransportProtocolHandlers within DM) identifier of a Uds TransportProtocol channel.

Header-Datei#include "apext/diag/uds_transport/protocol_mgr.h"
Scopeclass apext::diag::uds_transport::UdsTransportProtocolMgr
SymbolGlobalChannelIdentifier

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

Record
AUTOSAR/AP/record/SWS_DM_09021
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_09021@rel:R25-11#4b6b9506
Content hash
4b6b9506
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_09021
Status: valid/unmigrated Version: rel:R25-11#2dd38493 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_09021@rel:R25-11#2dd38493
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#4200e9d42026-09-30
  • R19-11rel:R19-11#7c3bef962026-10-14
  • R20-11rel:R20-11#8ffd78d52026-10-14
  • R21-11rel:R21-11#8ffd78d52026-10-14
  • R22-11rel:R22-11#b1e43aa62026-10-14
  • R23-11rel:R23-11#01454d8f2026-10-14
  • R24-11rel:R24-11#1fe1cbb92026-10-14
  • R25-11rel:R25-11#2dd384932026-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