DEENESPTFRRUARHIKOZHNL

क्लास ara::diag::DownloadService

[SWS_DM_00784] Upstream: RS_Diag_04033

class DownloadService {...};

Download service interface.

Header-Datei#include "ara/diag/download.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

उपयोगकर्ता गाइडएआई जनित

डेटा ट्रांसफ़र और समापन जाँच के साथ UDS डाउनलोड सत्रों को संसाधित करने के लिए एक इंटरफ़ेस के रूप में कार्य करता है।
एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 80e540367c50 उद्गम खुले प्रश्न (2)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

डेटा ट्रांसफ़र और समापन जाँच के साथ UDS डाउनलोड सत्रों को संसाधित करने के लिए एक इंटरफ़ेस के रूप में कार्य करता है।

एब्सट्रैक्ट क्लास ara::diag::DownloadService AUTOSAR Adaptive Platform ([SWS_DM_00787]) पर UDS डाउनलोड प्रक्रियाओं को निष्पादित करने के लिए एक कार्यात्मक इंटरफ़ेस के रूप में कार्य करती है। Offer() के माध्यम से सक्रियण के बाद, Diagnostic Management इनिशियलाइज़ेशन, ब्लॉक-वार डेटा ट्रांसफ़र और समापन जाँच के लिए डायग्नोस्टिक अनुरोधों को एप्लिकेशन-विशिष्ट कार्यान्वयन में अग्रेषित करता है ([SWS_DM_00792])। इंस्टेंस न तो कॉपी करने योग्य है और न ही स्थानांतरित करने योग्य है, और निर्माण के समय इसे एक विशिष्ट पोर्ट असाइनमेंट और समवर्ती व्यवहार के निर्धारण की आवश्यकता होती है। सभी ट्रांसफ़र रूटीन अतुल्यकालिक Futures लौटाते हैं, जिसमें त्रुटियों को Negative Response Codes के माध्यम से संकेतित किया जाता है।

संदर्भ

एब्सट्रैक्ट क्लास ara::diag::DownloadService AUTOSAR Adaptive Platform ([SWS_DM_00787]) में डायग्नोस्टिक डाउनलोड सेवाओं को लागू करने के लिए कार्यात्मक C++ इंटरफ़ेस को परिभाषित करती है। यह एक मानकीकृत सर्विस हैंडलर के रूप में कार्य करती है, जिसमें Diagnostic Management (DM) ISO 14229-1 के अनुसार आने वाले UDS अनुरोधों को अग्रेषित करता है ([SWS_DM_00792])। सॉफ़्टवेयर आर्किटेक्चर से बाइंडिंग एक DiagnosticDownloadInterface के मॉडल किए गए PortPrototype के माध्यम से होती है, जिसे रनटाइम पर एक ara::core::InstanceSpecifier के माध्यम से रिज़ॉल्व किया जाता है ([SWS_DM_00787])। एक एप्लिकेशन-विशिष्ट डायग्नोस्टिक्स घटक इस इंटरफ़ेस से इनहेरिट करता है और ECU में डाउनलोड अनुक्रमों की शुरुआत, ब्लॉक-वार डेटा ट्रांसफ़र और व्यवस्थित समापन के लिए ठोस निष्पादन तर्क को लागू करता है ([SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791])।

जीवनचक्र

इंस्टेंसिएशन एक ara::core::InstanceSpecifier और एक ConcurrencyType निर्दिष्ट करके कंस्ट्रक्टर के माध्यम से होता है ([SWS_DM_00787])। ऐसा करते समय प्लेटफ़ॉर्म मॉडल अखंडता को मान्य करता है; गलत पोर्ट असाइनमेंट या प्रक्रिया में एक ही पहचानकर्ता का बार-बार उपयोग रनटाइम त्रुटियों का कारण बनता है ([SWS_DM_00787])। डायग्नोस्टिक पोर्ट पर एक अद्वितीय मैपिंग सुनिश्चित करने के लिए, ara::diag::DownloadService को एक एकल इंस्टेंस के रूप में डिज़ाइन किया गया है: कॉपी कंस्ट्रक्टर ([SWS_DM_01649]) और कॉपी असाइनमेंट ऑपरेटर ([SWS_DM_01647]) दोनों के साथ-साथ मूव कंस्ट्रक्टर ([SWS_DM_01650]) और मूव असाइनमेंट ([SWS_DM_01648]) हटा दिए गए हैं (delete)।

निर्माण के बाद इंस्टेंस निष्क्रिय स्थिति में होता है। केवल Offer() को कॉल करने से ही DM द्वारा डायग्नोस्टिक अनुरोधों का अग्रेषण सक्षम होता है ([SWS_DM_00792])। StopOffer() के माध्यम से इस अग्रेषण को फिर से निष्क्रिय किया जा सकता है ([SWS_DM_00793])। निष्क्रियकरण के बाद, संभवतः Offer() का एक नया कॉल अनुमेय होना चाहिए (व्याख्या), यदि एप्लिकेशन प्रवाह में सर्विस को फिर से सक्रिय किया जाना है। प्रश्न Q-475cd8b8a6a86754 (खुला) वर्चुअल डिस्ट्रक्टर ~DownloadService() हैंडलर के जीवनचक्र को समाप्त करता है ([SWS_DM_00788])।

थ्रेड सुरक्षा के संबंध में, कंस्ट्रक्टर थ्रेड-सुरक्षित है, जबकि Offer(), StopOffer() और डिस्ट्रक्टर थ्रेड-सुरक्षित नहीं हैं ([SWS_DM_00787], [SWS_DM_00788], [SWS_DM_00792], [SWS_DM_00793])। क्या व्युत्पन्न सर्विस मेथडों को समवर्ती रूप से संसाधित किया जाना चाहिए, यह कंस्ट्रक्टर कॉल के दौरान चुने गए ConcurrencyType (kConcurrent या kNotConcurrent) पर निर्भर करता है ([SWS_DM_00787], [SWS_DM_00789])।

DownloadServiceLifecycle NichtInit आरंभीकृत नहीं Instanziiert इंस्टैंशिएट किया गया (ऑफ़र नहीं किया गया) NichtInit->Instanziiert DownloadService() Instanziiert->NichtInit ~DownloadService() Angeboten Angeboten (Weiterleitung aktiv) Instanziiert->Angeboten Offer() Angeboten->Instanziiert StopOffer()

स्थिति आरेख: निर्माण से लेकर ऑफ़र स्थिति और विनाश तक DownloadService इंस्टेंस का जीवनचक्र। स्रोत: [SWS_DM_00787], [SWS_DM_00792], [SWS_DM_00793], [SWS_DM_00788]

उपयोग पथ

एक नियमित डाउनलोड प्रक्रिया इनिशियलाइज़ेशन, डेटा ट्रांसफ़र और समापन जाँच के तीन-चरणीय अनुक्रम का पालन करती है:

  • डाउनलोड इनिशियलाइज़ेशन: Offer() ([SWS_DM_00792]) के माध्यम से सर्विस की पेशकश करने के बाद, DM डाउनलोड इनिशियलाइज़ेशन के लिए एक UDS अनुरोध प्राप्त करता है और RequestDownload() को कॉल करता है ([SWS_DM_00789])। एप्लिकेशन dataFormatIdentifier, addressAndLengthFormatIdentifier के साथ-साथ memoryAddressAndSize ([SWS_DM_00789]) में गंतव्य पता और मेमोरी आकार जैसे मापदंडों को सत्यापित करता है। सफल सत्यापन के बाद, लौटाया गया ara::core::Future<void> सकारात्मक रूप से रिज़ॉल्व किया जाता है ([SWS_DM_00789])।
  • डेटा ट्रांसफ़र: बाद के TransferData संदेशों के लिए, DM चक्रीय रूप से DownloadData() को कॉल करता है ([SWS_DM_00790])। सेगमेंट transferRequestParameterRecord में पेलोड डेटा होता है और तब तक मान्य रहता है जब तक कि संबद्ध Promise पूरा नहीं हो जाता या प्रोसेसिंग रद्द नहीं हो जाती ([SWS_DM_00790])। लौटाया गया ara::core::Future<OperationOutput> सकारात्मक प्रतिक्रिया डेटा प्रदान करता है, जिसे UDS प्रतिक्रिया में ब्लॉक काउंटर के पीछे रखा जाता है ([SWS_DM_00790])।
  • ट्रांसफ़र समापन: संपूर्ण डेटा ट्रांसफ़र के बाद, DM RequestDownloadExit() को कॉल करता है ([SWS_DM_00791])। एप्लिकेशन transferRequestParameterRecord से निर्माता-विशिष्ट मापदंडों (उदा. अंतिम चेकसम) को संसाधित करता है और ara::core::Future<OperationOutput> ([SWS_DM_00791]) के माध्यम से अतुल्यकालिक रूप से अनुरोध की पुष्टि करता है।

पेलोड डेटा ब्लॉकों का प्रसंस्करण आमतौर पर एप्लिकेशन के अतुल्यकालिक बैकग्राउंड थ्रेड्स में होना चाहिए (व्याख्या), क्योंकि इंटरफ़ेस ara::core::Future के साथ काम करता है और रद्दीकरण जाँच के लिए प्रत्येक कॉल पर एक cancellationHandler पास किया जाता है ([SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791])। प्रश्न Q-ba0fca00446cb679 (खुला) सभी प्रक्रियाओं के पूरा होने के बाद, एप्लिकेशन StopOffer() ([SWS_DM_00793]) के माध्यम से सर्विस को अपंजीकृत करता है।

एक UDS डाउनलोड सत्र का विशिष्ट प्रवाहDMDownloadServiceUse Case: DienstregistrierungOffer()Result<void> (Erfolg)Use Case: Download-InitialisierungRequestDownload(dataFormatIdentifier, addressAndLengthFormatIdentifier, memoryAddressAndSize, metaInfo, cancellationHandler)Future<void> (सफलता या NRC)Use Case: डेटा ट्रांसमिशनloopप्रत्येक डेटा ब्लॉक के लिए (TransferData)DownloadData(transferRequestParameterRecord, metaInfo, cancellationHandler)Future<OperationOutput> (सफलता या NRC)Use Case: ट्रांसमिशन पूर्णताRequestDownloadExit(transferRequestParameterRecord, metaInfo, cancellationHandler)Future<OperationOutput> (सफलता या NRC)Use Case: DienstabmeldungStopOffer()

अनुक्रम आरेख: Diagnostic Management (DM) और DownloadService के बीच UDS डाउनलोड सत्र का विशिष्ट प्रवाह। स्रोत: [SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791], [SWS_DM_00792], [SWS_DM_00793]

त्रुटि परिदृश्य

कॉन्फ़िगरेशन, सर्विस पंजीकरण के साथ-साथ चल रहे प्रोटोकॉल प्रवाह में त्रुटियाँ हो सकती हैं:

  • कॉन्फ़िगरेशन उल्लंघन: यदि मॉडल में InstanceSpecifier को रिज़ॉल्व नहीं किया जा सकता है या यह एक PortPrototype को संदर्भित नहीं करता है, तो एक InstanceSpecifierMappingIntegrityViolation ट्रिगर होता है ([SWS_DM_00787])। एक DiagnosticServiceGenericMapping द्वारा टाइपिंग की अनुपस्थिति एक PortInterfaceMappingViolation ([SWS_DM_00787]) की ओर ले जाती है। इसके अलावा, प्रक्रिया असाइनमेंट की अनुपस्थिति (ProcessMappingViolation) या पहले से असाइन किए गए पहचानकर्ता का पुन: उपयोग (InstanceSpecifierAlreadyInUseViolation) इंस्टेंसिएशन त्रुटियों का कारण बनता है ([SWS_DM_00787])।
  • ऑफ़र त्रुटियाँ: यदि Offer() को तब कॉल किया जाता है जब सर्विस पहले से ही सक्रिय रूप से ऑफ़र की जा रही हो, तो कॉल एक ara::core::Result में त्रुटि कोड DiagOfferErrc::kAlreadyOffered लौटाता है ([SWS_DM_00792])।
  • डायग्नोस्टिक नकारात्मक प्रतिक्रियाएँ: यदि RequestDownload(), DownloadData() या RequestDownloadExit() में प्रसंस्करण विफल रहता है (उदा. अमान्य पता श्रेणियों या ब्लॉक त्रुटियों के कारण), तो एप्लिकेशन संबंधित ara::core::Future को ISO 14229-1 के अनुसार DiagUdsNrcErrc से एक त्रुटि कोड के साथ बंद करता है ([SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791])। इसके बाद DM संगत नकारात्मक प्रतिक्रिया संदेश उत्पन्न करता है।
  • रद्दीकरण और समाप्ति: ऑब्जेक्ट cancellationHandler के माध्यम से, एप्लिकेशन IsCanceled() का उपयोग करके जाँच सकता है कि क्या चल रही डायग्नोस्टिक बातचीत रद्द कर दी गई थी, या SetNotifier() के माध्यम से रद्दीकरण के लिए कॉलबैक पंजीकृत कर सकता है ([SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791])। रद्दीकरण की स्थिति में, पास किए गए बफ़र डेटा की वैधता समय से पहले समाप्त हो जाती है ([SWS_DM_00789], [SWS_DM_00790], [SWS_DM_00791])।

यह गाइड AUTOSAR Adaptive Platform R25-11 विनिर्देश के आधार पर एक AI द्वारा उत्पन्न किया गया था।

सदस्य मानचित्र

कंस्ट्रक्टर और डिस्ट्रक्टर

2

ऑपरेटर

1

नेस्टेड टाइप

1

क्लास आरेख

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

G nara__diag__DownloadService914 DownloadService + DownloadService() + operator=() + ~DownloadService() + DownloadData() + Offer() + RequestDownload() + RequestDownloadExit() + StopOffer()

विवरण दृश्य

रूपरेखा में कोई प्रविष्टि चुनें।

कंस्ट्रक्टर और डिस्ट्रक्टर

DownloadService फ़ंक्शन 3

Class for an DownloadService.

ओवरलोड DownloadService 3
explicit DownloadService (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_00787
DownloadService (DownloadService &)=delete; SWS_DM_01649
DownloadService (DownloadService &&) noexcept=delete; SWS_DM_01650
~DownloadService फ़ंक्शन

Destructor of class DownloadService.

virtual ~DownloadService () noexcept;

मेथड

DownloadData फ़ंक्शन

Called for TransferData following a previous RequestDownload.

virtual ara::core::Future< OperationOutput > DownloadData (ara::core::Span< const std::uint8_t > transferRequestParameterRecord, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Offer फ़ंक्शन

This Offer will enable the DM to forward request messages to this handler.

ara::core::Result< void > Offer () noexcept;
RequestDownload फ़ंक्शन

Called for RequestDownload.

virtual ara::core::Future< void > RequestDownload (std::uint8_t data FormatIdentifier, std::uint8_t addressAndLengthFormatIdentifier, ara::core::Span< const std::uint8_t > memoryAddressAndSize, const Meta Info &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
RequestDownloadExit फ़ंक्शन

Called for RequestTransferExit.

virtual ara::core::Future< OperationOutput > RequestDownloadExit (ara::core::Span< const std::uint8_t > transferRequestParameterRecord, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
StopOffer फ़ंक्शन

This StopOffer will disable the forwarding of request messages from DM.

void StopOffer () noexcept;

ऑपरेटर

operator= फ़ंक्शन 2

DownloadService shall be a single not assignable instance.

ओवरलोड = 2

नेस्टेड टाइप

OperationOutput क्लास

मेथड का प्रलेखन

फ़ंक्शन DownloadData [SWS_DM_00790] Upstream: RS_AP_00119, RS_AP_00138, RS_Diag_04033, RS_Diag_04170

virtual ara::core::Future< OperationOutput > DownloadData (ara::core::Span< const std::uint8_t > transferRequestParameterRecord, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for TransferData following a previous RequestDownload.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: bbbd97ebad00 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

पहले से शुरू किए गए डाउनलोड अनुरोध (AUTOSAR_AP_SWS_Diagnostics §8.14.1.1.3.1 “DownloadData”) के बाद UDS सेवा TransferData (0x36) के लिए डेटा को प्रोसेस करने हेतु मेथड [SWS_DM_00790] को कॉल किया जाता है। निष्पादन ara::core::Future<OperationOutput> के माध्यम से एसिंक्रोनस रूप से होता है।

इनपुट के रूप में ट्रांसफर किए जाने वाले डेटा के साथ एक ara::core::Span<const std::uint8_t> (transferRequestParameterRecord), MetaInfo के माध्यम से संदर्भ डेटा और एक CancellationHandler पास किया जाता है। पेलोड तब तक मान्य रहता है जब तक Promise पूरा नहीं हो जाता या ऑपरेशन रद्द नहीं हो जाता। सफल समापन पर, प्रतिक्रिया डेटा OperationOutput.responseData में संग्रहीत किया जाता है और सकारात्मक प्रतिक्रिया संदेश में ब्लॉक सीक्वेंस काउंटर के पीछे रखा जाता है [SWS_DM_00786]।

त्रुटि प्रबंधन

यदि प्रोसेसिंग के दौरान कोई त्रुटि होती है, तो Promise को नकारात्मक UDS प्रतिक्रिया के रूप में DiagUdsNrcErrc (ISO 14229-1 के अनुसार NRC) से उपयुक्त ErrorCode के साथ पूरा किया जाता है [SWS_DM_00790]।

समवर्तीता और प्रतिबंध

फ़ंक्शन को noexcept के रूप में घोषित किया गया है। क्या कार्यान्वयन को थ्रेड-सुरक्षित रूप से निष्पादित किया जाना चाहिए, यह कंस्ट्रक्टर में पास किए गए ConcurrencyType द्वारा सशर्त रूप से निर्धारित किया जाता है [SWS_DM_00790]। CancellationHandler के माध्यम से रद्दीकरण स्थिति की जांच की जा सकती है (IsCanceled) या SetNotifier के माध्यम से एक अधिसूचना कॉलबैक पंजीकृत किया जा सकता है।

इंटरैक्शन

ऑपरेशन TransferData [SWS_DM_00137] के प्रसंस्करण को कार्यान्वित करता है, जिसके पहले RequestDownload (0x34) के माध्यम से डाउनलोड सत्र शुरू किया गया था [SWS_DM_00869]। संभवतः डेटा ब्लॉकों का स्थानांतरण UDS सत्र क्रम के अनुसार क्रमिक रूप से होता है। प्रश्न Q-fe18230bf7fcdf47 (खुला)

यह उपयोग निर्देश AUTOSAR स्पेसिफिकेशन के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
transferRequestParameterRecorddata to be transferred (copied/downloaded to the ECU/server) Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<OperationOutput >A Future, which either gets readied to OperationOutput (transfer ResponseParameterRecord for a positive response message) or readied with ErrorCode from DiagUdsNrcErrc (for an negative response message). Data in OperationOutput.responseData will be placed after the blockSequenceCounter as transferResponseParameterRecord in the positive response.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_00790
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00790@rel:R25-11#30151c3f
Content hash
30151c3f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00790
Status: valid/unmigrated Version: rel:R25-11#a7575344 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_00790@rel:R25-11#a7575344
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#805cae222026-09-30
  • R19-11rel:R19-11#266301b32026-10-14
  • R20-11rel:R20-11#0ebd14d12026-10-14
  • R21-11rel:R21-11#3484339d2026-10-14
  • R22-11rel:R22-11#f928e1d22026-10-14
  • R23-11rel:R23-11#83a2741f2026-10-14
  • R24-11rel:R24-11#0b81b5b92026-10-14
  • R25-11rel:R25-11#a75753442026-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

फ़ंक्शन DownloadService [SWS_DM_00787] Upstream: RS_AP_00137, RS_Diag_04033, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

explicit DownloadService (const ara::core::InstanceSpecifier &specifier, ConcurrencyType concurrencyType) noexcept;

Class for an DownloadService.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of your executable, or it refers to a model element other tegrityViolation than a PortPrototype. PortInterfaceMap- A PortPrototype that is typed by a pingViolation DiagnosticDownloadInterface needs to be typed by a DiagnosticServiceGenericMapping. ProcessMappingVio- Matching InstanceRef exists, but no matching (modelled) Process lation found that matches the (runtime) process. InstanceSpecifier- Violation message that is sent in case a constructor in the ara AlreadyInUseViola- framework was called with an InstanceSpecifier already in use in tion this process.

Parameter (in)

ParameterBeschreibung
specifierInstanceSpecifier to a PortPrototype of a DiagnosticDownloadInterface
concurrencyTypeSpecifies if the interface is implemented as thread safe ( kConcurrent) or non-thread safe (kNotConcurrent).

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

Record
AUTOSAR/AP/record/SWS_DM_00787
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00787@rel:R25-11#011d83b9
Content hash
011d83b9
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00787
Status: valid/unmigrated Version: rel:R25-11#8657e8dc 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_00787@rel:R25-11#8657e8dc
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ffed83902026-09-30
  • R19-11rel:R19-11#798c93552026-10-14
  • R20-11rel:R20-11#8f95734d2026-10-14
  • R21-11rel:R21-11#8f95734d2026-10-14
  • R22-11rel:R22-11#36dbe1792026-10-14
  • R23-11rel:R23-11#94e653a32026-10-14
  • R24-11rel:R24-11#a6fa21eb2026-10-14
  • R25-11rel:R25-11#8657e8dc2026-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

फ़ंक्शन DownloadService [SWS_DM_01649] Upstream: RS_AP_00147

DownloadService (DownloadService &)=delete;

DownloadService shall be a single not copy-able instance.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService

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

Record
AUTOSAR/AP/record/SWS_DM_01649
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01649@rel:R25-11#555bd3df
Content hash
555bd3df
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01649
Status: valid/unmigrated Version: rel:R25-11#fb906636 Versionshistorie & Revisions (1 transition, 4 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_01649@rel:R25-11#fb906636
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cb7ef79e2026-09-30
  • R23-11rel:R23-11#582c174d2026-10-14
  • R24-11rel:R24-11#808329322026-10-14
  • R25-11rel:R25-11#fb9066362026-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

फ़ंक्शन DownloadService [SWS_DM_01650] Upstream: RS_AP_00147

DownloadService (DownloadService &&) noexcept=delete;

Move constructor of DownloadService.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService

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

Record
AUTOSAR/AP/record/SWS_DM_01650
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01650@rel:R25-11#7951bf28
Content hash
7951bf28
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01650
Status: valid/unmigrated Version: rel:R25-11#030ce002 Versionshistorie & Revisions (1 transition, 4 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_01650@rel:R25-11#030ce002
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#88c77ae52026-09-30
  • R23-11rel:R23-11#fc491d3e2026-10-14
  • R24-11rel:R24-11#030ce0022026-10-14
  • R25-11rel:R25-11#030ce0022026-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

फ़ंक्शन Offer [SWS_DM_00792] Upstream: RS_AP_00119, RS_AP_00139, RS_Diag_04033

ara::core::Result< void > Offer () noexcept;

This Offer will enable the DM to forward request messages to this handler.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: b7aed34fcbd4 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

क्लास ara::diag::DownloadService की विधि Offer Diagnostic Management Daemon (DM) द्वारा विशिष्ट हैंडलर को आने वाले डाउनलोड अनुरोधों के अग्रेषण को सक्षम बनाती है [SWS_DM_00792]। कॉल समकालिक रूप से और बिना पैरामीटर के बिना C++ अपवाद उत्पन्न किए (noexcept) किया जाता है [SWS_DM_00792]। आमतौर पर, बाहरी नैदानिक अनुरोध आने से पहले, प्रसंस्करण अनुप्रयोग के आरंभीकरण चरण के दौरान प्रावधान को कॉल किया जाना चाहिए। प्रश्न Q-0180c707edea0eec (खुला)

रिटर्न मान के रूप में, फ़ंक्शन ara::core::Result<void> लौटाता है [SWS_DM_00792]। यदि पंजीकरण सफल रहा, तो परिणाम रिक्त होता है। यदि सेवा पहले ही DM को प्रदान की जा चुकी है, तो ऑपरेशन त्रुटि कोड DiagOfferErrc::kAlreadyOffered के साथ विफल हो जाता है, जिससे रोलबैक सेमांटिक्स सुनिश्चित होता है [SWS_DM_00792]।

संवर्ती और सुरक्षा के संबंध में निम्नलिखित शर्तें लागू होती हैं:

  • थ्रेड-सुरक्षा: फ़ंक्शन को गैर-थ्रेड-सुरक्षित (not thread-safe) के रूप में वर्गीकृत किया गया है [SWS_DM_00792]; समान सेवा इंस्टेंस पर समानांतर कॉलों को अनुप्रयोग स्तर पर सिंक्रनाइज़ किया जाना चाहिए।
  • अपवाद सुरक्षा: इंटरफ़ेस को अपवाद-सुरक्षित (exception safe) के रूप में निर्दिष्ट किया गया है [SWS_DM_00792]।

Offer के माध्यम से पैटर्न AUTOSAR Adaptive में नैदानिक सेवाओं के लिए एकसमान दृष्टिकोण से मेल खाता है, जैसा कि UploadService [SWS_DM_00802], SecurityAccess [SWS_DM_00766] या जेनेरिक UDS सेवाओं [SWS_DM_00619] के लिए भी समान रूप से परिभाषित किया गया है। अन्य सबसिस्टम के साथ नामों की समानता के बावजूद, यह एक विशिष्ट डायग्नोस्टिक कार्यान्वयन है AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”।

यह उपयोग संबंधी निर्देश AUTOSAR R25-11 विनिर्देश के आधार पर स्वचालित रूप से जनरेट किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
ara::core::Result< void >Returns nothing or an error.

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kAlreadyOfferedrollback_semantics The service is already offered.

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

Record
AUTOSAR/AP/record/SWS_DM_00792
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00792@rel:R25-11#87a56d45
Content hash
87a56d45
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00792
Status: valid/unmigrated Version: rel:R25-11#b34b20a3 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_00792@rel:R25-11#b34b20a3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#f711ba552026-09-30
  • R19-11rel:R19-11#f492a0482026-10-14
  • R20-11rel:R20-11#887c43c62026-10-14
  • R21-11rel:R21-11#053e9e6c2026-10-14
  • R22-11rel:R22-11#746b90042026-10-14
  • R23-11rel:R23-11#dc45d0452026-10-14
  • R24-11rel:R24-11#15a7b4052026-10-14
  • R25-11rel:R25-11#b34b20a32026-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

फ़ंक्शन RequestDownload [SWS_DM_00789] Upstream: RS_AP_00119, RS_AP_00138, RS_Diag_04033, RS_Diag_04170

virtual ara::core::Future< void > RequestDownload (std::uint8_t data FormatIdentifier, std::uint8_t addressAndLengthFormatIdentifier, ara::core::Span< const std::uint8_t > memoryAddressAndSize, const Meta Info &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for RequestDownload.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 833b177db92d उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग

[SWS_DM_00128] और [SWS_DM_00867] के अनुसार UDS सेवा 0x34 (RequestDownload) को संसाधित करने के लिए Diagnostic Server instance द्वारा वर्ग ara::diag::DownloadService की विधि RequestDownload को कॉल किया जाता है। यह dataFormatIdentifier, addressAndLengthFormatIdentifier, मेमोरी क्षेत्र memoryAddressAndSize, metaInfo और साथ ही एक cancellationHandler स्वीकार करता है [SWS_DM_00789]। प्रसंस्करण एसिंक्रोनस रूप से होता है और एक ara::core::Future<void> लौटाता है; memoryAddressAndSize में डेटा की वैधता तब तक बनी रहती है जब तक कि संबंधित Promise पूरा नहीं हो जाता या प्रक्रिया रद्द नहीं हो जाती [SWS_DM_00789]।

त्रुटि प्रबंधन

सफलता के मामले में, Future को void पर सेट किया जाता है, जिसके परिणामस्वरूप एक सकारात्मक प्रतिक्रिया मिलती है, जिसके बाद एक सुरक्षा घटना SEV_UDS_REQUEST_UP_DOWNLOAD_SUCCESSFUL की सूचना IdsM को दी जाती है [SWS_DM_02031]। यदि अनुरोध विफल रहता है, तो Future को ISO 14229-1 के अनुसार DiagUdsNrcErrc से एक उपयुक्त त्रुटि कोड के साथ पूरा किया जाना चाहिए [SWS_DM_00789]।

समवर्तीता और परस्पर क्रिया

विधि को exception safe के रूप में निर्दिष्ट किया गया है, जबकि थ्रेड सुरक्षा सशर्त है और कंस्ट्रक्टर में पास किए गए ConcurrencyType पर निर्भर करती है [SWS_DM_00789]। वार्तालाप के रद्दीकरण को cancellationHandler.IsCanceled() के माध्यम से या cancellationHandler.SetNotifier के माध्यम से पंजीकृत एक notifier के माध्यम से संसाधित किया जा सकता है [SWS_DM_00789]। RequestDownload के सफल निष्पादन के बाद, आमतौर पर DownloadData के माध्यम से डेटा का स्थानांतरण होता है [SWS_DM_00790]। व्याख्या: कार्यान्वित करने वाला अनुप्रयोग Future की पूर्ति से पहले मेमोरी पते और आकार की वैधता को मान्य करेगा, जैसा कि मेमोरी-संबंधी UDS सेवाओं के लिए संदर्भ इंगित करता है AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.2 “Common service processing items”। प्रश्न Q-728d2e5f7d09e605 (खुला)

यह उपयोग नोट AUTOSAR Adaptive R25-11 के विनिर्देश दस्तावेज़ों पर आधारित है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
dataFormatIdentifierUDS dataFormat Identifier
addressAndLengthFormatIdentifierUDS addressAndLengthFormatIdentifier
memoryAddressAndSizememoryAddress and memorySize part of the request. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future< void >A Future, which either gets readied to void (for a positive response message) or readied with ErrorCode from DiagUdsNrcErrc (for an negative response message)

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_00789
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00789@rel:R25-11#1b8cb888
Content hash
1b8cb888
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00789
Status: valid/unmigrated Version: rel:R25-11#ffbdbbd3 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_00789@rel:R25-11#ffbdbbd3
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a74a1c182026-09-30
  • R19-11rel:R19-11#f998977a2026-10-14
  • R20-11rel:R20-11#bc61ad7e2026-10-14
  • R21-11rel:R21-11#6fc3d75b2026-10-14
  • R22-11rel:R22-11#21fafce42026-10-14
  • R23-11rel:R23-11#c991e0422026-10-14
  • R24-11rel:R24-11#b09d04162026-10-14
  • R25-11rel:R25-11#ffbdbbd32026-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

फ़ंक्शन RequestDownloadExit [SWS_DM_00791] Upstream: RS_AP_00119, RS_AP_00138, RS_Diag_04033, RS_Diag_04170

virtual ara::core::Future< OperationOutput > RequestDownloadExit (ara::core::Span< const std::uint8_t > transferRequestParameterRecord, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for RequestTransferExit.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 5b80145a92c9 उद्गम
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

डाउनलोड अनुक्रम के भाग के रूप में UDS सेवा RequestTransferExit (0x37) को संसाधित करने के लिए Diagnostic-Server-इंस्टेंस द्वारा वर्ग ara::diag::DownloadService की विधि RequestDownloadExit को कॉल किया जाता है ([SWS_DM_00141], [SWS_DM_00871], SWS Diagnostics §7.3.2.8.19 “Service 0x37 – RequestTransferExit”)।

कॉल करते समय निम्नलिखित पैरामीटर पास किए जाते हैं ([SWS_DM_00791]):

  • transferRequestParameterRecord: डेटा ट्रांसफर का समर्थन करने के लिए वाहन निर्माता-विशिष्ट पैरामीटरों के साथ एक ara::core::Span<const std::uint8_t>। इस मेमोरी की वैधता तब तक बनी रहती है जब तक कि संबंधित Promise पूरा नहीं हो जाता या प्रसंस्करण रद्द नहीं हो जाता।
  • metaInfo: डायग्नोस्टिक अनुरोध के लिए मेटा-जानकारी।
  • cancellationHandler: cancellationHandler.IsCanceled() का उपयोग करके स्थिति क्वेरी करने और cancellationHandler.SetNotifier() के माध्यम से एक अधिसूचना फ़ंक्शन को पंजीकृत करने के लिए कार्य करता है।

फ़ंक्शन एसिंक्रोनस रूप से कार्य करता है और एक ara::core::Future<OperationOutput> लौटाता है ([SWS_DM_00791])। सफलता के मामले में, Future OperationOutput के साथ पूरा होता है; OperationOutput::responseData में निहित डेटा ([SWS_DM_00786]) को सेवा ID के बाद सकारात्मक प्रतिक्रिया में transferResponseParameterRecord के रूप में एम्बेड किया जाता है ([SWS_DM_00791])।

यदि कोई त्रुटि होती है, तो Future को DiagUdsNrcErrc (ISO 14229-1 के अनुसार Negative Response Code) से एक उपयुक्त त्रुटि कोड के साथ पूरा किया जाना चाहिए ([SWS_DM_00791])। इंटरफ़ेस को noexcept के रूप में निर्दिष्ट किया गया है; इसकी थ्रेड सुरक्षा सशर्त है और ऑब्जेक्ट निर्माण के समय ConcurrencyType द्वारा निर्धारित की जाती है ([SWS_DM_00791])।

यह पाठ एक AI द्वारा उत्पन्न किया गया था और दस्तावेज़ीकरण के उद्देश्य से है।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I1)

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitconditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor

Parameter (in)

ParameterBeschreibung
transferRequestParameterRecordThis parameter record contains parameter(s), which are required by the server to support the transfer of data. Format and length of this parameter(s) are vehicle manufacturer specific. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<OperationOutput >A Future, which either gets readied to OperationOutput (transfer ResponseParameterRecord for a positive response message) or readied with ErrorCode from DiagUdsNrcErrc (for an negative response message). Data in OperationOutput.responseData will be placed after SID as transferResponseParameterRecord in the positive response.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_00791
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00791@rel:R25-11#218fdab7
Content hash
218fdab7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00791
Status: valid/unmigrated Version: rel:R25-11#21344e94 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_00791@rel:R25-11#21344e94
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3e342a362026-09-30
  • R19-11rel:R19-11#8e6663042026-10-14
  • R20-11rel:R20-11#54678f6b2026-10-14
  • R21-11rel:R21-11#2a0ccfbc2026-10-14
  • R22-11rel:R22-11#1e8b923b2026-10-14
  • R23-11rel:R23-11#c81ea4142026-10-14
  • R24-11rel:R24-11#6f5df7482026-10-14
  • R25-11rel:R25-11#21344e942026-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

फ़ंक्शन StopOffer [SWS_DM_00793] Upstream: RS_Diag_04033

void StopOffer () noexcept;

This StopOffer will disable the forwarding of request messages from DM.

एआई-जनित असत्यापित मॉडल: gemini-3.8-flash-medium · प्रयास: medium · तापमान: नियंत्रित नहीं किया जा सकता · प्रॉम्प्ट: 92aeeee277b1 उद्गम खुले प्रश्न (1)
जर्मन मार्गदर्शिका से अनूदितgemini-3.8-flash-low · 2026-10-13 · जर्मन मूल

उपयोग और कॉल संदर्भ

वर्ग ara::diag::DownloadService (AUTOSAR_AP_SWS_Diagnostics §8.14.1.1.3.5 “StopOffer”, [SWS_DM_00793]) का फ़ंक्शन StopOffer Diagnostic Management (DM) से आने वाले डायग्नोस्टिक अनुरोध संदेशों को सेवा इंस्टेंस पर अग्रेषित करने को निष्क्रिय करने का कार्य करता है। समकालिक इंटरफ़ेस का हस्ताक्षर void StopOffer () noexcept; है, यह कोई पैरामीटर स्वीकार नहीं करता है और कोई रिटर्न मान नहीं देता है ([SWS_DM_00793])। कॉल हेडर #include "ara/diag/download.h" ([SWS_DM_00793]) के माध्यम से किया जाता है।

त्रुटि हैंडलिंग और समवर्तीता

त्रुटि प्रबंधन के संबंध में, मेथड को अपवाद-सुरक्षित (exception safe) और noexcept के साथ घोषित किया गया है; न तो अपवाद फेंके जाते हैं और न ही त्रुटि कोड उत्पन्न होते हैं ([SWS_DM_00793])। समवर्तीता के लिए, StopOffer थ्रेड-सुरक्षित नहीं (not thread-safe) है ([SWS_DM_00793])। इसलिए एकाधिक थ्रेड्स से समान इंस्टेंस पर समकालिक कॉलों को एप्लिकेशन पक्ष पर सिंक्रोनाइज़ किया जाना चाहिए।

डायग्नोस्टिक सिस्टम में पारस्परिक क्रिया

StopOffer के माध्यम से सेवाओं को निष्क्रिय करना AUTOSAR Adaptive के भीतर एक समान पैटर्न का अनुसरण करता है: अपलोड सेवाओं के लिए कार्यात्मक समकक्ष ara::diag::UploadService::StopOffer ([SWS_DM_00803]) मौजूद है, साथ ही CommunicationControl ([SWS_DM_00810]), Authentication ([SWS_DM_01131]) और EcuResetRequest ([SWS_DM_01017]) के लिए अनुरूप मेथड हैं। नामकरण प्लेटफ़ॉर्म के सम्मेलनों पर आधारित है, लेकिन एक स्वतंत्र डायग्नोस्टिक कार्यान्वयन का प्रतिनिधित्व करता है (AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”)। व्याख्या: StopOffer को कॉल करने के बाद, DM आने वाले UDS डाउनलोड अनुरोधों को तब तक अग्रेषित नहीं कर सकता है या छोड़ सकता है जब तक सेवा फिर से पेश नहीं की जाती है। प्रश्न Q-a45cc70b6ae09431 (खुला)

यह उपयोग नोट AUTOSAR विनिर्देश R25-11 के आधार पर स्वचालित रूप से उत्पन्न किया गया था।

इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता I2)

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_DM_00793
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00793@rel:R25-11#c3278825
Content hash
c3278825
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00793
Status: valid/unmigrated Version: rel:R25-11#1636e4f0 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_00793@rel:R25-11#1636e4f0
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#2738b0bc2026-09-30
  • R19-11rel:R19-11#bc39bfa02026-10-14
  • R20-11rel:R20-11#268f9e722026-10-14
  • R21-11rel:R21-11#ac0a03612026-10-14
  • R22-11rel:R22-11#7903b38f2026-10-14
  • R23-11rel:R23-11#27bfc5a42026-10-14
  • R24-11rel:R24-11#93e117af2026-10-14
  • R25-11rel:R25-11#1636e4f02026-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

फ़ंक्शन operator= [SWS_DM_01647] Upstream: RS_AP_00147

DownloadService & operator= (DownloadService &)=delete;

DownloadService shall be a single not assignable instance.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService

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

Record
AUTOSAR/AP/record/SWS_DM_01647
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01647@rel:R25-11#77f64f2e
Content hash
77f64f2e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01647
Status: valid/unmigrated Version: rel:R25-11#304074df Versionshistorie & Revisions (1 transition, 4 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_01647@rel:R25-11#304074df
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#2a6e089d2026-09-30
  • R23-11rel:R23-11#e243c4cf2026-10-14
  • R24-11rel:R24-11#ed6b07a12026-10-14
  • R25-11rel:R25-11#304074df2026-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

फ़ंक्शन operator= [SWS_DM_01648] Upstream: RS_AP_00147

DownloadService & operator= (DownloadService &&)=delete;

Move assignment operator of DownloadService.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService

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

Record
AUTOSAR/AP/record/SWS_DM_01648
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01648@rel:R25-11#5576c94b
Content hash
5576c94b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01648
Status: valid/unmigrated Version: rel:R25-11#490d7891 Versionshistorie & Revisions (1 transition, 4 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_01648@rel:R25-11#490d7891
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#8eefcc8a2026-09-30
  • R23-11rel:R23-11#65f181ef2026-10-14
  • R24-11rel:R24-11#490d78912026-10-14
  • R25-11rel:R25-11#490d78912026-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

फ़ंक्शन ~DownloadService [SWS_DM_00788] Upstream: RS_AP_00134, RS_Diag_04033

virtual ~DownloadService () noexcept;

Destructor of class DownloadService.

Header-Datei#include "ara/diag/download.h"
Scopeclass ara::diag::DownloadService
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_00788
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_00788@rel:R25-11#d84f9a3e
Content hash
d84f9a3e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00788
Status: valid/unmigrated Version: rel:R25-11#45cce01a 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_00788@rel:R25-11#45cce01a
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b5d610242026-09-30
  • R19-11rel:R19-11#47e107992026-10-14
  • R20-11rel:R20-11#af90c1862026-10-14
  • R21-11rel:R21-11#af90c1862026-10-14
  • R22-11rel:R22-11#987c3d212026-10-14
  • R23-11rel:R23-11#acfe51ff2026-10-14
  • R24-11rel:R24-11#5b94246d2026-10-14
  • R25-11rel:R25-11#45cce01a2026-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