DEENESPTFRRUARHIKOZHNL

class ara::diag::SovdSwUpdate

[SWS_DM_01874] Upstream: RS_Diag_04265

class SovdSwUpdate {...};

Class to implement the SovdSwUpdate interface.

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

User GuideAI-GENERATED

Serves as an interface for processing software updates via the ASAM SOVD protocol in the AUTOSAR diagnostic server.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 0456e379cc70 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves as an interface for processing software updates via the ASAM SOVD protocol in the AUTOSAR diagnostic server.

The class provides the application-side interface for processing standardized software updates via the SOVD protocol according to ASAM SOVD [SWS_DM_01796]. After instantiation, the application activates the forwarding of diagnostic requests to the specific update handlers via the method Offer() [SWS_DM_01924]. Packages are registered, prepared, installed automatically or manually, and deleted again via asynchronous methods. All data transfer- and lifecycle-relevant operations are processed in a non-blocking manner via futures.

Context

The class ara::diag::SovdSwUpdate defines the interface for implementing standardized software updates according to ASAM SOVD within the AUTOSAR Adaptive Platform [SWS_DM_01874]. Since the actual business logic of software updates does not reside in the Diagnostic Management (DM) functional cluster, execution remains with the respective application, while ara::diag::SovdSwUpdate concentrates on the standard-compliant processing of the underlying SOVD protocol AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”. For uploading update files, transfer strategies are used as specified for the UDS service 0x38 (RequestFileTransfer) AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”, [SWS_DM_01923].

Three essential components are involved in the processes: the external SOVD client, the Diagnostic Server (DM) instance for protocol and route management, and the application-specific handler implementation of ara::diag::SovdSwUpdate [SWS_DM_01796], [SWS_DM_01924].

SovdSwUpdateContext client SOVD-Client dm Diagnostic Server (DM) client->dm SOVD-Protokoll (ASAM SOVD) handler ara::diag::SovdSwUpdate (Anwendungs-Handler) dm->handler Methodenaufrufe (z. B. Prepare/Execute) handler->dm ara::core::Future

Context diagram: Interaction of SOVD client, Diagnostic Server (DM), and ara::diag::SovdSwUpdate. Sources: [SWS_DM_01796], [SWS_DM_01924], AUTOSAR_AP_SWS_Diagnostics §7.4 “SOVD Software Update API - concept”

Lifecycle

Instantiation of ara::diag::SovdSwUpdate takes place via the constructor by specifying an ara::core::InstanceSpecifier that references a port prototype of a modeled DiagnosticSovdUpdateInterface, as well as a concurrency mode (ConcurrencyType: kConcurrent or kNotConcurrent) [SWS_DM_01910]. The constructor is specified to be thread-safe and exception-safe [SWS_DM_01910]. Representing a unique interface instance, the copy constructor and copy assignment operator are deleted (=delete) and protected [SWS_DM_01912], [SWS_DM_01914]. Move construction and move assignment are available as protected, but are not thread-safe [SWS_DM_01913], [SWS_DM_01915].

Destruction of the object is handled via the virtual destructor ~SovdSwUpdate(), which is considered not thread-safe [SWS_DM_01911]. Whether the virtual callback methods of the class must be executed concurrently depends directly on the ConcurrencyType passed to the constructor [SWS_DM_01910], [SWS_DM_01916].

Usage Path

Interpretation: Since the provided interface methods are declared pure virtual (=0), a derived application class is likely to implement them to perform the actual update execution, while the base class governs the platform integration. Question Q-10500d9fc58503ea (open)

The regular sequence is divided into the following phases:

  • Offering: After creating the object, the application calls Offer() to enable Diagnostic Management to forward incoming SOVD messages to this instance [SWS_DM_01924].
  • Information and registration: Existing update packages can be queried via GetAllUpdates() [SWS_DM_01797], [SWS_DM_01916]. If a new package is to be transferred, the Diagnostic Server requests a registration via RequestUpdatePackageRegistration(), which asynchronously provides a write session (DataTransferWriteSession) along with an update package ID [SWS_DM_01923]. Details and status are determined via GetUpdatePackageDetails() and GetUpdatePackageStatus() [SWS_DM_01802], [SWS_DM_01917], [SWS_DM_01921].
  • Installation or deletion: The installation can either be initiated automatically via PutUpdatePackageAutomated() [SWS_DM_01799], [SWS_DM_01918] or take place in two steps via PrepareUpdatePackage() [SWS_DM_01800], [SWS_DM_01919] followed by ExecuteUpdatePackage() [SWS_DM_01801], [SWS_DM_01920]. Packages that are no longer needed are removed via DeleteUpdatePackage() [SWS_DM_01922].
  • Termination: Prior to shutdown, the application deactivates message forwarding by calling StopOffer() [SWS_DM_01925].
Software update sequence via SOVDSOVD-ClientDiagnostic ServerSovdSwUpdateUse Case: DienstfreigabeOffer()Result<void>Use Case: Registration of the update packageSOVD: Register UpdateRequestUpdatePackageRegistration(metaInfo, expectedSize, cancellationHandler)Future<tuple<DataTransferWriteSession, updatePackageId>>SOVD Response (Session & Package-ID)Use Case: Preparation and installationSOVD: Prepare InstallationPrepareUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD ResponseSOVD: Execute InstallationExecuteUpdatePackage(updatePackageId, metaInfo, cancellationHandler)Future<void>SOVD Response

Sequence diagram: Typical sequence of package registration and installation via SOVD. Sources: [SWS_DM_01799], [SWS_DM_01800], [SWS_DM_01801], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923], [SWS_DM_01924]

Error Scenarios

When offering the services via Offer(), specific errors can occur in the return type ara::core::Result<void>: DiagOfferErrc::kAlreadyOffered if the instance is already offered, and DiagOfferErrc::kConfigurationMismatch if the configuration does not match the diagnostic extract (DEXT) [SWS_DM_01924].

If the constructor is called with an incorrect model state, architectural violations are reported, including InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, or InstanceSpecifierAlreadyInUseViolation [SWS_DM_01910].

All functional update operations return a ara::core::Future that transports error codes according to ASAM SOVD 1.1 or ISO 17978-3 in case of an error [SWS_DM_01917], [SWS_DM_01919], [SWS_DM_01920], [SWS_DM_01923]. In addition, all asynchronous methods receive a CancellationHandler through which a premature abort of the ongoing diagnostic connection is signaled [SWS_DM_01916], [SWS_DM_01919], [SWS_DM_01923].

This guide is based on the AUTOSAR Adaptive R25-11 specification and was generated automatically.

Member map

Class diagram

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

G nara__diag__SovdSwUpdate737 SovdSwUpdate + ~SovdSwUpdate() + SovdSwUpdate() + DeleteUpdatePackage() + ExecuteUpdatePackage() + GetAllUpdates() + GetUpdatePackageDetails() + GetUpdatePackageStatus() + Offer() + PrepareUpdatePackage() + PutUpdatePackageAutomated() + RequestUpdatePackageRegistration() + StopOffer() + operator=()

Detail view

Select an entry in the outline.

Constructors and destructor

SovdSwUpdate function 3

Constructor for SovdSwUpdate.

Overloads SovdSwUpdate 3
SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01910
SovdSwUpdate (SovdSwUpdate const &)=delete; SWS_DM_01912
SovdSwUpdate (SovdSwUpdate &&other) noexcept; SWS_DM_01913
~SovdSwUpdate function

Destructor of class SovdSwUpdate.

virtual ~SovdSwUpdate () noexcept;

Methods

Called for SOVD method "Delete Update Package from an SOVD Server".

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Execute Installation of an Update".

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
GetAllUpdates function

Called for SOVD method "Retrieve List of All Updates".

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

Called for SOVD method "Get Details of Update".

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Status of an Update".

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Offer function

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

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

Called for SOVD method "Prepare Installation of an Update".

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Automated Installation of an Update".

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Register an Update at the SOVD Server".

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;
StopOffer function

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

void StopOffer () const noexcept;

Operators

operator= function 2

SovdSwUpdate shall be a single not assignable instance.

Overloads = 2
SovdSwUpdate & operator= (SovdSwUpdate const &)=delete; SWS_DM_01914
SovdSwUpdate & operator= (SovdSwUpdate &&other) & noexcept; SWS_DM_01915

Embedded types

Method documentation

function DeleteUpdatePackage [SWS_DM_01922] Upstream: RS_Diag_04265

virtual ara::core::Future< void > DeleteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Delete Update Package from an SOVD Server".

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 8b58fd563e10 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The pure virtual function DeleteUpdatePackage of class ara::diag::SovdSwUpdate is called according to [SWS_DM_01803] by the instance of the Diagnostic Server when the SOVD method "Delete Update Package from an SOVD Server" is to be executed ([SWS_DM_01922]). It initiates the server-side removal of an update package.

The call takes place asynchronously and returns a ara::core::Future<void>, which indicates successful completion or provides an error object [SWS_DM_01922]. The signature requires the following input parameters:

  • updatePackageId: Designates as ara::core::String the unique ID of the update package to be deleted.
  • metaInfo: Passes additional context information of the request as MetaInfo const&.
  • cancellationHandler: Transmits an object of type CancellationHandler that informs whether the current conversation was cancelled.

If an error occurs during processing, the Future is populated with a corresponding SOVD error. The specification prescribes the use of appropriate error codes from ASAM SOVD 1.1 or ISO 17978-3 for this purpose [SWS_DM_01922].

Regarding concurrency, the method is defined as conditionally thread-safe: Whether the implementation must be executed thread-safe or non-thread-safe is determined via the ConcurrencyType passed in the constructor [SWS_DM_01922]. In addition, the function is declared as noexcept and exception-safe, which is why no exceptions may escape.

This usage note is based on the specification AUTOSAR Adaptive R25-11 and was generated by an AI.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id to be deleted
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01922
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01922@rel:R25-11#6203bff4
Content hash
6203bff4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01922
Status: valid/unmigrated Version: rel:R25-11#3e5d5362 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_01922@rel:R25-11#3e5d5362
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6203bff42026-09-30
  • R23-11rel:R23-11#af1834882026-10-14
  • R24-11rel:R24-11#113a04fa2026-10-14
  • R25-11rel:R25-11#3e5d53622026-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 ExecuteUpdatePackage [SWS_DM_01920] Upstream: RS_Diag_04265

virtual ara::core::Future< void > ExecuteUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Execute Installation of an Update".

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

use

The pure virtual method ExecuteUpdatePackage of interface ara::diag::SovdSwUpdate serves to execute the SOVD method "Execute Installation of an Update" [SWS_DM_01920]. The declaration is found in header ara/diag/sovd_sw_update.h AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.2 “ExecuteUpdatePackage”. Passed as input parameters are the identifier of the update package (updatePackageId) and request data (metaInfo) [SWS_DM_01920]. In addition, object cancellationHandler informs if the running conversation was cancelled [SWS_DM_01920]. The call takes place asynchronously and returns a ara::core::Future<void>, which provides a positive result or reports an SOVD error [SWS_DM_01920].

Error handling

The interface is specified as noexcept and exception-safe ("exception safe") [SWS_DM_01920]. Consequently, errors during execution must not be thrown via C++ exceptions, but are to be returned asynchronously via the ara::core::Future with applicable error codes from ASAM SOVD 1.1 or ISO 17978-3 [SWS_DM_01920].

Concurrency and Constraints

Regarding thread safety, there is a conditional requirement ("conditional"): Whether the function must be implemented thread-safe or non-thread-safe is determined via the parameter ConcurrencyType that was passed to the constructor [SWS_DM_01920]. The implementation would likely need to evaluate the cancellationHandler in order to terminate package installation in an orderly manner upon a cancellation of the conversation [SWS_DM_01920]. Question Q-8fe6950e8f5a168c (open)

This text was generated by an AI and serves as guidance. Only the official AUTOSAR specifications are binding.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id of the update to be executed
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive results or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01920
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01920@rel:R25-11#da839410
Content hash
da839410
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01920
Status: valid/unmigrated Version: rel:R25-11#250ba828 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_01920@rel:R25-11#250ba828
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#da8394102026-09-30
  • R23-11rel:R23-11#c3f2b7802026-10-14
  • R24-11rel:R24-11#f4456b492026-10-14
  • R25-11rel:R25-11#250ba8282026-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 GetAllUpdates [SWS_DM_01916] Upstream: RS_Diag_04265

virtual ara::core::Future< ara::core::Vector< ara::core::String > > GetAllUpdates (ara::core::String targetVersion, ara::core::String origin, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept=0;

Called for SOVD method "Retrieve List of All Updates".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
targetVersionOptional parameter to be used if the target-version query parameter is used in the request. If the parameter is not set the String shall be left empty. set in the request the String shall be left empty
originOptional parameter to be used if the origin query parameter is used in the request. If the parameter is not set the String shall be left empty
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::String > >A future with a span of all update package ids. The span shall not be modified until the releaseHandler is called.

Fehler

FehlercodeBeschreibung
This function does not specify any standardized errors.

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

Record
AUTOSAR/AP/record/SWS_DM_01916
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01916@rel:R25-11#cfb37af3
Content hash
cfb37af3
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01916
Status: valid/unmigrated Version: rel:R25-11#fa31eee5 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_01916@rel:R25-11#fa31eee5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cfb37af32026-09-30
  • R23-11rel:R23-11#1313500b2026-10-14
  • R24-11rel:R24-11#2fff52ce2026-10-14
  • R25-11rel:R25-11#fa31eee52026-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 GetUpdatePackageDetails [SWS_DM_01917] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageDetails > GetUpdatePackage Details (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Details of Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id of the update to be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageDetails >A future with the details of the requested update package or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01917
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01917@rel:R25-11#5194b7fa
Content hash
5194b7fa
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01917
Status: valid/unmigrated Version: rel:R25-11#08879f75 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_01917@rel:R25-11#08879f75
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5194b7fa2026-09-30
  • R23-11rel:R23-11#bed00f3c2026-10-14
  • R24-11rel:R24-11#71be4b722026-10-14
  • R25-11rel:R25-11#08879f752026-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 GetUpdatePackageStatus [SWS_DM_01921] Upstream: RS_Diag_04265

virtual ara::core::Future< UpdatePackageStatus > GetUpdatePackage Status (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Get Status of an Update".

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id of which the status shall be read
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<UpdatePackageStatus >A future with either the current UpdatePackageStatus or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01921
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01921@rel:R25-11#6c5291e8
Content hash
6c5291e8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01921
Status: valid/unmigrated Version: rel:R25-11#a8720fc8 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_01921@rel:R25-11#a8720fc8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6c5291e82026-09-30
  • R23-11rel:R23-11#6a27c4202026-10-14
  • R24-11rel:R24-11#f41bfa0b2026-10-14
  • R25-11rel:R25-11#a8720fc82026-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 Offer [SWS_DM_01924] Upstream: RS_Diag_04265

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

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

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

The member function ara::diag::SovdSwUpdate::Offer registers the handler for SOVD software updates with Diagnostic Management (DM) to enable it to forward incoming request messages to the handler [SWS_DM_01924]. The call takes place synchronously and without parameters via header ara/diag/sovd_sw_update.h and, according to noexcept, throws no C++ exceptions [SWS_DM_01924].

The result of the operation is returned as ara::core::Result<void> [SWS_DM_01924]. If offering fails, the function returns an error with rollback semantics [SWS_DM_01924]:

  • DiagOfferErrc::kAlreadyOffered: The service was already successfully offered for this handler beforehand [SWS_DM_01924].
  • DiagOfferErrc::kConfigurationMismatch: The monitor configuration does not match the DEXT configuration [SWS_DM_01924].

Regarding concurrency, the method is specified as exception safe, but explicitly as not thread-safe (not thread-safe) [SWS_DM_01924]. Interpretation: For accesses from multiple threads, external application-side synchronization is therefore likely required. Question Q-4636ad27701d59df (open) The offering principle via Offer corresponds to the general scheme for diagnostic handlers such as [SWS_DM_00557] or [SWS_DM_00735], in which the DM can only forward requests once the corresponding interface is actively offered [SWS_DM_01525].

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

Implementer's Guide to follow (complexity I1)

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

Rückgabewert

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

Fehler

FehlercodeBeschreibung
DiagOfferErrc::kConfigurationMismatchrollback_semantics monitor configuration does not match DEXT
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_01924
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01924@rel:R25-11#4434cb65
Content hash
4434cb65
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01924
Status: valid/unmigrated Version: rel:R25-11#1b6fc58c 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_01924@rel:R25-11#1b6fc58c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#4434cb652026-09-30
  • R23-11rel:R23-11#032ce7bb2026-10-14
  • R24-11rel:R24-11#438685592026-10-14
  • R25-11rel:R25-11#1b6fc58c2026-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 PrepareUpdatePackage [SWS_DM_01919] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PrepareUpdatePackage (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Prepare Installation of an Update".

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

The pure virtual method PrepareUpdatePackage of interface ara::diag::SovdSwUpdate serves to prepare the installation of a software update package within the scope of the SOVD method "Prepare Installation of an Update" in accordance with [SWS_DM_01919] (AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.7 “PrepareUpdatePackage”).

Call and Parameters

The function is provided via header ara/diag/sovd_sw_update.h and accepts the following parameters:

  • updatePackageId: Identifier (ara::core::String) of the update package to be prepared.
  • metaInfo: Metadata (MetaInfo const&) for the incoming SOVD request.
  • cancellationHandler: Monitoring object (CancellationHandler) that informs about the cancellation of the current conversation.

The call is specified as noexcept and behaves in an exception-safe manner. The asynchronous result is provided via a ara::core::Future<void>, which either signals successful completion or provides an error [SWS_DM_01919].

Error Handling and Concurrency

If an error occurs during preparation, an appropriate error code according to ASAM SOVD 1.1 or ISO 17978-3 must be returned in Future [SWS_DM_01919]. Regarding thread safety, a conditional requirement applies (conditional): Whether the function must be implemented thread-safely is determined via the ConcurrencyType specified in the constructor during instantiation [SWS_DM_01919]. Via the object cancellationHandler, the application would likely be able to abort lengthy preparation steps if the request is terminated prematurely. Question Q-be4c53d9a0427ed5 (open)

This text was created by an AI based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id of the update to be prepared
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01919
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01919@rel:R25-11#d529788a
Content hash
d529788a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01919
Status: valid/unmigrated Version: rel:R25-11#7bdc8dcb 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_01919@rel:R25-11#7bdc8dcb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d529788a2026-09-30
  • R23-11rel:R23-11#cb96813b2026-10-14
  • R24-11rel:R24-11#124b85892026-10-14
  • R25-11rel:R25-11#7bdc8dcb2026-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 PutUpdatePackageAutomated [SWS_DM_01918] Upstream: RS_Diag_04265

virtual ara::core::Future< void > PutUpdatePackageAutomated (ara::core::String updatePackageId, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept=0;

Called for SOVD method "Automated Installation of an Update".

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: a14ff9457ed9 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The pure virtual method PutUpdatePackageAutomated is called in the context of the SOVD method "Automated Installation of an Update" [SWS_DM_01918]. It is declared in header ara/diag/sovd_sw_update.h within class ara::diag::SovdSwUpdate AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”. The function serves to automatically install an update package specified by its identifier.

The interface expects the following input parameters:

  • updatePackageId (ara::core::String): Identifier of the update package that is to be submitted to automated installation [SWS_DM_01918].
  • metaInfo (MetaInfo const &): Meta-information of the incoming service request [SWS_DM_01918].
  • cancellationHandler (CancellationHandler): Informs the operation whether the running conversation was cancelled [SWS_DM_01918].

The call has asynchronous semantics. A ara::core::Future<void> serves as the return value, which after completion either indicates successful execution or contains an error state [SWS_DM_01918].

Error Handling and Concurrency

In the event of an error, an applicable error code from ASAM SOVD 1.1 or ISO 17978-3 must be returned via the future [SWS_DM_01918]. The method is specified as exception-safe (exception safe) and, as a noexcept function, throws no C++ exceptions AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.8 “PutUpdatePackageAutomated”.

The thread safety of the method is conditional (conditional): Whether the implementation must be executed thread-safe or non-thread-safe is determined via the ConcurrencyType passed during constructor invocation [SWS_DM_01918].

This usage note was created automatically based on the AUTOSAR specification for Release R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
updatePackageIdupdate-package-id of the update to be put to automated
metaInfoMetaInfo of the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future< void >A future with either a positive result or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01918
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01918@rel:R25-11#cde948f4
Content hash
cde948f4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01918
Status: valid/unmigrated Version: rel:R25-11#befb20e2 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_01918@rel:R25-11#befb20e2
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#cde948f42026-09-30
  • R23-11rel:R23-11#97eae9312026-10-14
  • R24-11rel:R24-11#0f5da9f52026-10-14
  • R25-11rel:R25-11#befb20e22026-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 RequestUpdatePackageRegistration [SWS_DM_01923] Upstream: RS_Diag_04265

virtual ara::core::Future< std::tuple< DataTransferWriteSession, ara::core::String > > RequestUpdatePackageRegistration (MetaInfo const &metaInfo, ara::core::Optional< uint64_t > expectedSize, Cancellation Handler cancellationHandler) noexcept=0;

Called for SOVD method "Register an Update at the SOVD Server".

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

The pure virtual function RequestUpdatePackageRegistration of class ara::diag::SovdSwUpdate serves the SOVD method "Register an Update at the SOVD Server" [SWS_DM_01923]. It initiates the registration of an update package on the server and initiates the associated transfer session AUTOSAR_AP_SWS_Diagnostics §8.58.2.1.3.9 “RequestUpdatePackageRegistration”.

The call takes place asynchronously and returns a ara::core::Future, which in the event of success contains a tuple consisting of a DataTransferWriteSession and a ara::core::String with the update package ID [SWS_DM_01923]. Upon the call, the following parameters are passed:

  • metaInfo: Meta-information of the incoming request.
  • expectedSize: Optional expected total size of the package (ara::core::Optional<uint64_t>), provided it is declared in the request.
  • cancellationHandler: Signals if the current conversation is cancelled.

The method is defined as noexcept and exception-safe [SWS_DM_01923]. Errors are consequently not reported via C++ exceptions, but provided asynchronously via the future; the corresponding error codes from ASAM SOVD 1.1 or ISO 17978-3 must be used for this purpose [SWS_DM_01923].

Thread safety is conditional ("conditional"): Whether the method must be implemented thread-safely is determined via the ConcurrencyType specified in the constructor [SWS_DM_01923]. The concrete implementation might therefore require its own synchronization mechanisms depending on instantiation. Question Q-7e80e557bdd7627a (open)

This text was created by an AI and serves to support the use of the API element.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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
metaInfoMetaInfo of the request.
expectedSizeSpecifies the expected size if available in the request.
cancellationHandlerInforms if the current conversation is cancelled

Rückgabewert

TypBeschreibung
ara::core::Future<std::tuple< DataTransferWriteSession, ara::core::String > >A future with either an instance of a "SOVD file writing session" with the corresponding update package id or a SOVD Error

Fehler

FehlercodeBeschreibung
Please use applicable error code from ASAM SOVD 1.1 or ISO 17978-3.

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

Record
AUTOSAR/AP/record/SWS_DM_01923
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01923@rel:R25-11#0245e3c0
Content hash
0245e3c0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01923
Status: valid/unmigrated Version: rel:R25-11#b092f8d8 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_01923@rel:R25-11#b092f8d8
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#0245e3c02026-09-30
  • R23-11rel:R23-11#c6f57bb12026-10-14
  • R24-11rel:R24-11#5e5e1b832026-10-14
  • R25-11rel:R25-11#b092f8d82026-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 SovdSwUpdate [SWS_DM_01910] Upstream: RS_Diag_04265, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

SovdSwUpdate (ara::core::InstanceSpecifier const &instanceSpecifier, ConcurrencyType concurrencyType) noexcept;

Constructor for SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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 referenced by a pingViolation DiagnosticSovdUpdatePortMapping needs to be typed by a DiagnosticSovdUpdateInterface. 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
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticSovdUpdateInterface service instance in the manifest.
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_01910
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01910@rel:R25-11#5bc9aa6d
Content hash
5bc9aa6d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01910
Status: valid/unmigrated Version: rel:R25-11#39b10a70 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_01910@rel:R25-11#39b10a70
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5bc9aa6d2026-09-30
  • R23-11rel:R23-11#cb3f1d3a2026-10-14
  • R24-11rel:R24-11#71a1ee492026-10-14
  • R25-11rel:R25-11#39b10a702026-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 SovdSwUpdate [SWS_DM_01912] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate const &)=delete;

SovdSwUpdate shall be a single not copy-able instance.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01912
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01912@rel:R25-11#29457c01
Content hash
29457c01
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01912
Status: valid/unmigrated Version: rel:R25-11#a9b2eed0 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_01912@rel:R25-11#a9b2eed0
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#29457c012026-09-30
  • R23-11rel:R23-11#920c2b292026-10-14
  • R24-11rel:R24-11#a9b2eed02026-10-14
  • R25-11rel:R25-11#a9b2eed02026-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 SovdSwUpdate [SWS_DM_01913] Upstream: RS_Diag_04265

SovdSwUpdate (SovdSwUpdate &&other) noexcept;

Move constructs an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitunsafe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01913
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01913@rel:R25-11#662a98ac
Content hash
662a98ac
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01913
Status: valid/unmigrated Version: rel:R25-11#4c757859 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_01913@rel:R25-11#4c757859
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#662a98ac2026-09-30
  • R23-11rel:R23-11#2175e3ea2026-10-14
  • R24-11rel:R24-11#4c7578592026-10-14
  • R25-11rel:R25-11#4c7578592026-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 StopOffer [SWS_DM_01925] Upstream: RS_Diag_04265

void StopOffer () const noexcept;

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

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

use

The method ara::diag::SovdSwUpdate::StopOffer terminates the offering of the service and disables the forwarding of incoming request messages from Diagnostic Management (DM) to the software update component [SWS_DM_01925]. The call takes place via the interface from ara/diag/sovd_sw_update.h, takes no parameters, and returns no value [SWS_DM_01925]. Terminating the service offering occurs synchronously and corresponds to the conceptual disabling of diagnostic functionalities in AUTOSAR Adaptive AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”.

Error Handling and Concurrency

The function has the specification noexcept and is therefore exception-safe; error states via exceptions or error codes are not provided [SWS_DM_01925]. For the call context, the function is defined as not thread-safe ("not thread-safe") [SWS_DM_01925]. Parallel calls on the same instance must be synchronized on the application side. Interpretation: A repeated call of StopOffer in the already inactive state would likely remain without error effect, as no error handling exists. Question Q-efaccde5507eb444 (open)

Interaction

In the overall system, the function fits into the uniform scheme of the DM service lifecycle. It forms the functional counterpart to offering the service and behaves analogously to the disabling operations of other diagnostic services such as ara::diag::DownloadService [SWS_DM_00793], ara::diag::GenericUDSService [SWS_DM_00620], and ara::diag::EcuResetRequest [SWS_DM_01017].

This text was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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_01925
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01925@rel:R25-11#60438b2c
Content hash
60438b2c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01925
Status: valid/unmigrated Version: rel:R25-11#b5890de5 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_01925@rel:R25-11#b5890de5
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#60438b2c2026-09-30
  • R23-11rel:R23-11#aac09bc62026-10-14
  • R24-11rel:R24-11#b5890de52026-10-14
  • R25-11rel:R25-11#b5890de52026-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 operator= [SWS_DM_01914] Upstream: RS_Diag_04265

SovdSwUpdate & operator= (SovdSwUpdate const &)=delete;

SovdSwUpdate shall be a single not assignable instance.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01914
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01914@rel:R25-11#f9334917
Content hash
f9334917
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01914
Status: valid/unmigrated Version: rel:R25-11#193efe55 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_01914@rel:R25-11#193efe55
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f93349172026-09-30
  • R23-11rel:R23-11#bd4a8b212026-10-14
  • R24-11rel:R24-11#193efe552026-10-14
  • R25-11rel:R25-11#193efe552026-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 operator= [SWS_DM_01915] Upstream: RS_Diag_04265

SovdSwUpdate & operator= (SovdSwUpdate &&other) & noexcept;

Move assigns an instance of SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe
Sichtbarkeitprotected

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
SovdSwUpdate &Reference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01915
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01915@rel:R25-11#9f73c122
Content hash
9f73c122
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01915
Status: valid/unmigrated Version: rel:R25-11#1ed1cfe6 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_01915@rel:R25-11#1ed1cfe6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#9f73c1222026-09-30
  • R23-11rel:R23-11#7eb86d6a2026-10-14
  • R24-11rel:R24-11#1ed1cfe62026-10-14
  • R25-11rel:R25-11#1ed1cfe62026-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 ~SovdSwUpdate [SWS_DM_01911] Upstream: RS_Diag_04265

virtual ~SovdSwUpdate () noexcept;

Destructor of class SovdSwUpdate.

Header-Datei#include "ara/diag/sovd_sw_update.h"
Scopeclass ara::diag::SovdSwUpdate
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_01911
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01911@rel:R25-11#7b4f357a
Content hash
7b4f357a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01911
Status: valid/unmigrated Version: rel:R25-11#2b411c6a 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_01911@rel:R25-11#2b411c6a
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#7b4f357a2026-09-30
  • R23-11rel:R23-11#0a7ddd152026-10-14
  • R24-11rel:R24-11#5ddc97882026-10-14
  • R25-11rel:R25-11#2b411c6a2026-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