DEENESPTFRRUARHIKOZHNL

class ara::diag::FileTransferService

[SWS_DM_01320] Upstream: RS_Diag_04135

class FileTransferService {...};

File Transfer service interface.

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

User GuideAI-GENERATED

Enables adaptive applications to provide file and directory operations for UDS diagnostic services.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 50ca3b00d3d3 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables adaptive applications to provide file and directory operations for UDS diagnostic services.

The service interface serves to connect application-specific file transfers to Diagnostic Management for the UDS service RequestFileTransfer ([SWS_DM_01320], SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”). After instantiation, the application activates the forwarding of incoming file requests with Offer() and processes file operations such as read, write, or delete asynchronously via specialized handler methods ([SWS_DM_01336]). For read and write operations, the service provides session objects through which the actual data transfer is handled. Instances of the class are non-copyable and require a fixed binding via an instance specifier.

Context

The class ara::diag::FileTransferService defines the diagnostic interface for implementing the UDS service RequestFileTransfer (0x38) in the AUTOSAR Adaptive Platform ([SWS_DM_01320], SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”). It acts as a service interface between Diagnostic Management (DM or Diagnostic Server) and the concrete diagnostic application to flexibly handle the reading, writing, resuming, and deleting of files or directories across process boundaries (SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”).

Three parties are typically involved in a file transfer scenario: the external UDS client (diagnostic tester), the Diagnostic Server as mediator, and the adaptive application that inherits from FileTransferService. For incoming diagnostic requests, the Diagnostic Server delegates the request to the implemented virtual methods of the service ([SWS_DM_01313], [SWS_DM_01314]). For subsequent data transfers (UDS 0x36 TransferData) and completion (UDS 0x37 RequestTransferExit), Diagnostic Management directly accesses handler classes provided via session objects (DataTransferReadSession or DataTransferWriteSession) ([SWS_DM_01317], [SWS_DM_01318]).

Kontext client UDS-Client (Tester) dm Diagnostic Management client->dm UDS 0x38, 0x36, 0x37 app Adaptive Application (FileTransferService) dm->app RequestReadFile / RequestWriteFile / ... session DataTransferReadSession / DataTransferWriteSession dm->session Read / Write / Exit app->session erzeugt Session

Context diagram: Interaction between UDS client, Diagnostic Management, service implementation, and transfer sessions. Sources: [SWS_DM_01317], [SWS_DM_01318], SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”.

Lifecycle

An instance of FileTransferService is created by specifying a modeled ara::core::InstanceSpecifier and the concurrency model ConcurrencyType ([SWS_DM_01325]). Via ConcurrencyType, it is defined whether callback methods of the class must be implemented thread-safe (kConcurrent) or non-thread-safe (kNotConcurrent) ([SWS_DM_01325], [SWS_DM_01331]). As a protected single function, the class is non-copyable ([SWS_DM_01327], [SWS_DM_01329]), but supports move semantics ([SWS_DM_01328], [SWS_DM_01330]).

After instantiation, the service must be explicitly activated via the method Offer() so that Diagnostic Management forwards incoming requests ([SWS_DM_01336]). With StopOffer(), forwarding can be deactivated again at any time ([SWS_DM_01337]). Interpretation: It is likely required to call StopOffer() before the object is destroyed by the virtual destructor ~FileTransferService() ([SWS_DM_01326]) in order to avoid orphaned callback accesses by Diagnostic Management. Question Q-3c5c406a144ced0c (open) Neither Offer(), StopOffer() nor the destructor are thread-safe ([SWS_DM_01326], [SWS_DM_01336], [SWS_DM_01337]).

Lebenszyklus Init Not initialized Instanziiert Instanziiert (kNotOffered) Init->Instanziiert FileTransferService(...) Bereitgestellt Bereitgestellt (Offered) Instanziiert->Bereitgestellt Offer() Ende Destroyed Instanziiert->Ende ~FileTransferService() Gestoppt Gestoppt (kNotOffered) Bereitgestellt->Gestoppt StopOffer() Gestoppt->Bereitgestellt Offer() Gestoppt->Ende ~FileTransferService()

State diagram: State transitions of a FileTransferService instance between instantiation, offering, and termination. Sources: [SWS_DM_01325], [SWS_DM_01336], [SWS_DM_01337], [SWS_DM_01326].

Usage Path

The typical flow of a file operation is divided into configuration, triggering of the operation, and subsequent block transfer. First, for a UDS request 0x38 with mode ReadFile (0x04), Diagnostic Management forwards the call to RequestReadFile ([SWS_DM_01314], [SWS_DM_01331]). The application processes the file name as well as format and meta information and asynchronously returns a tuple of a DataTransferReadSession and the file sizes (FileSizes) via a ara::core::Future ([SWS_DM_01331]). Interpretation: Which transfer strategy (such as copy, zero-copy, or file system handle) is used is presumably determined by the application upon instantiating the respective session class (SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”, [SWS_DM_01317]). Question Q-80b541ae6dd7cc34 (open)

After positive acknowledgment, the client requests the data blocks via TransferData (0x36). The Diagnostic Server then directly calls the Read method of the registered handler of DataTransferReadSession ([SWS_DM_01317]). As soon as all blocks have been transferred, the client completes the transaction with RequestTransferExit (0x37), whereupon the Diagnostic Server calls the handler's Exit method ([SWS_DM_01318]). Similar patterns apply to writing via RequestWriteFile ([SWS_DM_01313], [SWS_DM_01333]) with mode WriteFileMode ([SWS_DM_01324]), resuming via RequestResumeWriteFile ([SWS_DM_01316], [SWS_DM_01334]), directory reading via RequestReadDirectory ([SWS_DM_01315], [SWS_DM_01332]), or direct deletion via DeleteFile ([SWS_DM_01335]).

Sequence of a file transfer (ReadFile)UDS-ClientDiagnostic ManagementFileTransferServiceDataTransferReadSessionRequestFileTransfer (0x38, ReadFile)RequestReadFile(fileName, ...)Erzeugt ReadSessionFuture<tuple<DataTransferReadSession, FileSizes>>Positive Response (0x78 / 0x38)Use Case: Data transmissionloopAs long as data blocks are presentTransferData (0x36)Read(...)DatenblockTransferData Response (0x76)Use Case: AbschlussRequestTransferExit (0x37)Exit()StatusRequestTransferExit Response (0x77)

Sequence diagram: Flow of a read operation via UDS 0x38, 0x36, and 0x37. Sources: [SWS_DM_01314], [SWS_DM_01317], [SWS_DM_01318], [SWS_DM_01331].

Error Scenarios

Errors can occur in several phases:

  • Construction violations: If resolving or mapping InstanceSpecifier fails, modeling errors such as InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, or InstanceSpecifierAlreadyInUseViolation occur ([SWS_DM_01325]).
  • Activation errors: A repeated call to Offer() when the service is already active returns the error DiagOfferErrc::kAlreadyOffered ([SWS_DM_01336]).
  • Diagnostic error codes (NRC): If an operation cannot be executed successfully, the callback methods in ara::core::Future return an appropriate negative UDS response code (NRC according to ISO 14229-1) via DiagUdsNrcErrc ([SWS_DM_01331], [SWS_DM_01333], [SWS_DM_01335]).
  • Cancellation handling: Via the passed CancellationHandler object, the application can check with IsCanceled whether the conversation was cancelled, or register a notification function for asynchronous cancellations via SetNotifier ([SWS_DM_01331], [SWS_DM_01335]).

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

Member map

Class diagram

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

G nara__diag__FileTransferService20 FileTransferService + ~FileTransferService() + FileTransferService() + DeleteFile() + Offer() + RequestReadDirectory() + RequestReadFile() + RequestResumeWriteFile() + RequestWriteFile() + StopOffer() + operator=()

Detail view

Select an entry in the outline.

Constructors and destructor

Constructor for FileTransferService (inherited)

Overloads FileTransferService 3
FileTransferService (ara::core::InstanceSpecifier const &instance Specifier, ConcurrencyType concurrencyType) noexcept; SWS_DM_01325
FileTransferService (FileTransferService const &)=delete; SWS_DM_01327
FileTransferService (FileTransferService &&other) noexcept; SWS_DM_01328

Destructor of class FileTransferService.

virtual ~FileTransferService () noexcept;

Methods

DeleteFile function

Called for RequestFileTransfer with ModeOfOperation DeleteFile. This method is the complete operation of deleting a file

virtual auto DeleteFile (ara::core::String fileName, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< void >=0;
Offer function

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

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

Called for RequestFileTransfer with ModeOfOperation ReadDir. .

virtual auto RequestReadDirectory (ara::core::String directoryName, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferReadSession, std::uint64_t > >=0;

Called for RequestFileTransfer with ModeOfOperation ReadFile. • uncompressed_size: If set to 0, the parameter will not be reported to the diagnostic client. • compressed_size: If set to 0, the parameter will not be reported to the diagnostic client. If no compression is used, the value shall be zero.

virtual auto RequestReadFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferReadSession, FileSizes > >=0;

Called for RequestFileTransfer with ModeOfOperation ResumeFile.

virtual auto RequestResumeWriteFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, FileSizes fileSizes, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferWriteSession, std::uint64_t > >=0;

Called for RequestFileTransfer with ModeOfOperation WriteFile.

virtual auto RequestWriteFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, FileSizes fileSizes, WriteFile Mode mode, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept -> ara::core::Future< DataTransferWriteSession >=0;
StopOffer function

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

void StopOffer () const noexcept;

Operators

operator= function 2

FileTransferService shall be a single not assignable instance.

Overloads = 2
auto operator= (FileTransferService const &) -> FileTransferService &=delete; SWS_DM_01329
auto operator= (FileTransferService &&other) & noexcept -> File TransferService &; SWS_DM_01330

Enumerations

WriteFileMode enumeration

Determines the write file operation mode.

enum class WriteFileMode : ara::core::Byte {...};

Embedded types

FileSizes class

Method documentation

function DeleteFile [SWS_DM_01335] Upstream: RS_Diag_04135

virtual auto DeleteFile (ara::core::String fileName, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< void >=0;

Called for RequestFileTransfer with ModeOfOperation DeleteFile. This method is the complete operation of deleting a file

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

Method DeleteFile of class ara::diag::FileTransferService (SWS Diagnostics §8.18.1.2.3.1 “DeleteFile”, header #include "ara/diag/file_transfer.h") handles the complete deletion process of a file within the UDS service RequestFileTransfer (0x38) with mode DeleteFile [SWS_DM_01335]. The UDS service is provided on the server side according to ISO 14229-1 [SWS_DM_01310] SWS Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”.

Upon invocation, three parameters are passed [SWS_DM_01335]:

  • fileName (ara::core::String): Path specification and name of the destination file (interpretation: despite the editorial specification text "file to read", this is the file to be deleted). Question Q-cdbe1185bb030e87 (open)
  • metaInfo (MetaInfo const &): Meta-information of the current diagnostic request.
  • cancellationHandler (CancellationHandler): Enables checking the cancellation status via cancellationHandler.IsCanceled() and registering a notification function via cancellationHandler.SetNotifier() in case the ongoing conversation is canceled.

As an asynchronous result, the function returns a ara::core::Future<void> [SWS_DM_01335]. Successful completion signals a positive response behavior to the diagnostic client. In case of error, an applicable UDS NRC according to ISO 14229-1 must be provided via DiagUdsNrcErrc in Future [SWS_DM_01335].

The function is specified as noexcept and is considered exception safe ("exception safe") [SWS_DM_01335]. The requirement for thread safety is conditional and is controlled via the ConcurrencyType passed to the constructor [SWS_DM_01335].

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

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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
fileNamePath including name of the file to read
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 with either a void data result to be reported to the UDS client (for a positive response message) or an UDS NRC value (for a 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_01335
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01335@rel:R25-11#8332cd05
Content hash
8332cd05
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01335
Status: valid/unmigrated Version: rel:R25-11#5a76fff5 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01335@rel:R25-11#5a76fff5
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#8332cd052026-09-30
  • R22-11rel:R22-11#36673d0f2026-10-14
  • R23-11rel:R23-11#73618cf32026-10-14
  • R24-11rel:R24-11#1c7c75ef2026-10-14
  • R25-11rel:R25-11#5a76fff52026-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 FileTransferService [SWS_DM_01325] Upstream: RS_Diag_04135, RS_AP_00170, RS_AP_00171, RS_AP_00172, RS_AP_00173

FileTransferService (ara::core::InstanceSpecifier const &instance Specifier, ConcurrencyType concurrencyType) noexcept;

Constructor for FileTransferService (inherited)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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 DiagnosticRequestFileTransferInterface needs to be referenced 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
instanceSpecifierInstanceSpecifier to a PortPrototype of a DiagnosticRequestFileTransferInterface.
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_01325
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01325@rel:R25-11#52de5334
Content hash
52de5334
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01325
Status: valid/unmigrated Version: rel:R25-11#a08ef198 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01325@rel:R25-11#a08ef198
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#52de53342026-09-30
  • R22-11rel:R22-11#8dbc776b2026-10-14
  • R23-11rel:R23-11#f58df40e2026-10-14
  • R24-11rel:R24-11#724c28ee2026-10-14
  • R25-11rel:R25-11#a08ef1982026-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 FileTransferService [SWS_DM_01327] Upstream: RS_Diag_04135

FileTransferService (FileTransferService const &)=delete;

FileTransferService shall be a single not copy-able instance.

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01327
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01327@rel:R25-11#8b4a360b
Content hash
8b4a360b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01327
Status: valid/unmigrated Version: rel:R25-11#1ed01f5a Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01327@rel:R25-11#1ed01f5a
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#8b4a360b2026-09-30
  • R22-11rel:R22-11#685998602026-10-14
  • R23-11rel:R23-11#bfbeeb2e2026-10-14
  • R24-11rel:R24-11#d1dbc6e22026-10-14
  • R25-11rel:R25-11#1ed01f5a2026-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 FileTransferService [SWS_DM_01328] Upstream: RS_Diag_04135

FileTransferService (FileTransferService &&other) noexcept;

Move constructs an instance of FileTransferService.

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
Exception-Sicherheitexception safe
Thread-Sicherheitthread-safe
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_01328
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01328@rel:R25-11#a64a8dae
Content hash
a64a8dae
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01328
Status: valid/unmigrated Version: rel:R25-11#1bdc5a9f Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01328@rel:R25-11#1bdc5a9f
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#a64a8dae2026-09-30
  • R22-11rel:R22-11#2f0b9de52026-10-14
  • R23-11rel:R23-11#ebd249b42026-10-14
  • R24-11rel:R24-11#c90d4b792026-10-14
  • R25-11rel:R25-11#1bdc5a9f2026-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_01336] Upstream: RS_Diag_04135

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

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: ae7133c89fe4 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

Method Offer of class ara::diag::FileTransferService registers the handler with Diagnostic Management (DM) so that it can forward incoming file transfer diagnostic requests to the instance [SWS_DM_01336]. The call is parameterless and synchronous. ara::core::Result<void> serves as the return type, indicating the success of the registration or an error that occurred [SWS_DM_01336].

Error handling

If an error occurs during offering, the function returns an erroneous ara::core::Result. If the service was already successfully offered previously for the respective instance, the specific error code DiagOfferErrc::kAlreadyOffered is returned with rollback semantics [SWS_DM_01336].

Concurrency and Limitations

The function is declared as exception safe (exception safe) and noexcept, but is considered not thread-safe (not thread-safe) [SWS_DM_01336]. Calls on the same service instance must therefore not be executed unprotected in parallel from multiple threads.

Interaction

Offering via Offer complies with the standardized offering pattern for diagnostic handlers in Adaptive AUTOSAR. Analogous mechanisms for forwarding requests by the DM exist, for example, for file download [SWS_DM_00792], upload [SWS_DM_00802], and general UDS services [SWS_DM_00619].

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

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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_01336
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01336@rel:R25-11#f8bdc817
Content hash
f8bdc817
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01336
Status: valid/unmigrated Version: rel:R25-11#780b487b Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01336@rel:R25-11#780b487b
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#f8bdc8172026-09-30
  • R22-11rel:R22-11#980deda22026-10-14
  • R23-11rel:R23-11#429134002026-10-14
  • R24-11rel:R24-11#2a2a4d772026-10-14
  • R25-11rel:R25-11#780b487b2026-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 RequestReadDirectory [SWS_DM_01332] Upstream: RS_Diag_04135

virtual auto RequestReadDirectory (ara::core::String directoryName, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferReadSession, std::uint64_t > >=0;

Called for RequestFileTransfer with ModeOfOperation ReadDir. .

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

Method ara::diag::FileTransferService::RequestReadDirectory is called by the Diagnostic Server instance when a diagnostic request for RequestFileTransfer (0x38) with modeOfOperation ReadDir (0x05) is received [SWS_DM_01315]. The function accepts the following parameters [SWS_DM_01332]:

  • directoryName: Path including directory name of the directory to be read.
  • metaInfo: Meta-information of the incoming diagnostic request.
  • cancellationHandler: Object for querying a conversation cancellation via cancellationHandler.IsCanceled() or registering a callback function via cancellationHandler.SetNotifier() for cancellation events.

The return is asynchronous via a ara::core::Future<std::tuple<DataTransferReadSession, std::uint64_t>> [SWS_DM_01332]. In case of success, the tuple contains the access strategy DataTransferReadSession as well as the directory size transmitted to the UDS client [SWS_DM_01332]. The DataTransferReadSession object establishes the link between the initialization via RequestFileTransfer (0x38) and the subsequent file transfers via TransferData (0x36) SWS Diagnostics p. 184 “Realization of modeOfOperation ReadDir (0x05)”.

If processing fails, the Future returns a negative response code (NRC) according to ISO 14229-1 via DiagUdsNrcErrc [SWS_DM_01332]. The method is specified as noexcept and exception safe (exception safe) [SWS_DM_01332]. Thread safety is conditional: Whether the function must be implemented thread-safe is determined via the ConcurrencyType passed in the constructor [SWS_DM_01332].

This usage note is based on the AUTOSAR Adaptive Platform specifications for the diagnostic module.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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
directoryNamePath including name of the directory to read
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<std::tuple< DataTransferReadSession, std::uint64_t > >A Future with either the access strategy to be used during reading and the directory information size to be reported to the UDS client (for a positive response message) or an UDS NRC value (for a 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_01332
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01332@rel:R25-11#bfc5a2d7
Content hash
bfc5a2d7
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01332
Status: valid/unmigrated Version: rel:R25-11#58fefe54 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01332@rel:R25-11#58fefe54
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#bfc5a2d72026-09-30
  • R22-11rel:R22-11#de5ccbca2026-10-14
  • R23-11rel:R23-11#6a311b002026-10-14
  • R24-11rel:R24-11#68f15ec32026-10-14
  • R25-11rel:R25-11#58fefe542026-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 RequestReadFile [SWS_DM_01331] Upstream: RS_Diag_04135

virtual auto RequestReadFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferReadSession, FileSizes > >=0;

Called for RequestFileTransfer with ModeOfOperation ReadFile. • uncompressed_size: If set to 0, the parameter will not be reported to the diagnostic client. • compressed_size: If set to 0, the parameter will not be reported to the diagnostic client. If no compression is used, the value shall be zero.

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

use

Method RequestReadFile is called by the Diagnostic Server instance as soon as a diagnostic request for RequestFileTransfer (0x38) with operation mode ReadFile (0x04) is received [SWS_DM_01314]. The function accepts the file path including name (fileName), the data format (dataFormatIdentifier), request metadata (metaInfo), and a cancellationHandler [SWS_DM_01331]. Via the cancellationHandler, the cancellation status can be queried (IsCanceled) or a notification function for the cancellation of the current conversation can be registered (SetNotifier) [SWS_DM_01331].

Execution is asynchronous and returns a ara::core::Future. In case of success, the future returns a tuple of DataTransferReadSession and FileSizes [SWS_DM_01331]. In FileSizes, a value of 0 for uncompressed_size or compressed_size signals that the respective size is not transmitted to the UDS client; for uncompressed files, compressed_size must be set to zero [SWS_DM_01331].

Error handling

If the preparation of the read operation fails, the application reports an appropriate UDS NRC according to ISO 14229-1 via DiagUdsNrcErrc in the returned future [SWS_DM_01331].

Concurrency and Interaction

The function is declared as noexcept. Thread safety is conditional (conditional): The ConcurrencyType passed to the constructor determines whether the implementation must be designed to be thread-safe [SWS_DM_01331]. The returned DataTransferReadSession object forms the link between the processing of RequestFileTransfer and the subsequent TransferData services (0x36), via which the actual file data stream is transmitted SWS Diagnostics p. 184.

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

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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
fileNamePath including name of the file to read
dataFormatIdentifierUDS dataFormat Identifier
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<std::tuple< DataTransferReadSession, FileSizes>>A Future with either the access strategy to be used during reading and the file sizes to be reported to the UDS client (for a positive response message) or an UDS NRC value (for a 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_01331
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01331@rel:R25-11#de746ccd
Content hash
de746ccd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01331
Status: valid/unmigrated Version: rel:R25-11#2da4b6c5 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01331@rel:R25-11#2da4b6c5
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#de746ccd2026-09-30
  • R22-11rel:R22-11#014f2e682026-10-14
  • R23-11rel:R23-11#e48290792026-10-14
  • R24-11rel:R24-11#40bb50212026-10-14
  • R25-11rel:R25-11#2da4b6c52026-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 RequestResumeWriteFile [SWS_DM_01334] Upstream: RS_Diag_04135

virtual auto RequestResumeWriteFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, FileSizes fileSizes, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< std::tuple< DataTransferWriteSession, std::uint64_t > >=0;

Called for RequestFileTransfer with ModeOfOperation ResumeFile.

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

Method RequestResumeWriteFile is called by an instance of the Diagnostic Server when a UDS service request for RequestFileTransfer (0x38) with operating mode ResumeFile (0x06) is received ([SWS_DM_01316], SWS Diagnostics §[SWS_DM_01316] “Realization of modeOfOperation ResumeFile (0x06)”). Its purpose is to resume a previously interrupted write operation for a file.

Upon invocation, the file path (fileName), the UDS data format identifier (dataFormatIdentifier), the file sizes (fileSizes), request metadata (metaInfo), and a cancellationHandler are passed ([SWS_DM_01334], SWS Diagnostics §8.18.1.2.3.5 “RequestResumeWriteFile”). Via the cancellationHandler, the application can actively check using IsCanceled whether the ongoing diagnostic conversation was canceled, or register a notification function for a cancellation via SetNotifier ([SWS_DM_01334]).

The return is asynchronous via ara::core::Future<std::tuple<DataTransferWriteSession, std::uint64_t>> ([SWS_DM_01334]). In case of success, the future provides a tuple containing an instance of DataTransferWriteSession as well as the byte position from which the transfer is to be continued ([SWS_DM_01334]). This session object links the initialization via RequestFileTransfer with the subsequent TransferData services (0x36) (SWS Diagnostics §[SWS_DM_01316] “Realization of modeOfOperation ResumeFile (0x06)”).

In case of error, the future must be completed with an appropriate UDS NRC according to ISO 14229-1 via DiagUdsNrcErrc ([SWS_DM_01334]). The function is declared as noexcept and exception safe; thread safety is conditional ("conditional") and is determined by the ConcurrencyType passed in the constructor ([SWS_DM_01334]).

This text was curated by an AI and is based exclusively on the specifications of the AUTOSAR Adaptive Platform R25-11.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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
fileNamePath including name of the file to read
dataFormatIdentifierUDS dataFormat Identifier
fileSizesThe compressed/uncompressed files sizes
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<std::tuple< DataTransferWriteSession, std::uint64_t > >A Future with either an instance of the file writing session and the byte position where to start resuming from to be reported to the UDS client (for a positive response message) or an UDS NRC value (for a 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_01334
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01334@rel:R25-11#89c39f93
Content hash
89c39f93
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01334
Status: valid/unmigrated Version: rel:R25-11#f5ac33f7 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01334@rel:R25-11#f5ac33f7
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#89c39f932026-09-30
  • R22-11rel:R22-11#8fe1f4b12026-10-14
  • R23-11rel:R23-11#42daa99b2026-10-14
  • R24-11rel:R24-11#56b464b02026-10-14
  • R25-11rel:R25-11#f5ac33f72026-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 RequestWriteFile [SWS_DM_01333] Upstream: RS_Diag_04135

virtual auto RequestWriteFile (ara::core::String fileName, ara::core::Byte dataFormatIdentifier, FileSizes fileSizes, WriteFile Mode mode, MetaInfo const &metaInfo, CancellationHandler cancellation Handler) noexcept -> ara::core::Future< DataTransferWriteSession >=0;

Called for RequestFileTransfer with ModeOfOperation WriteFile.

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

use

Method [SWS_DM_01333] is called by the diagnostic server as soon as a UDS service request RequestFileTransfer (0x38) with the operating mode WriteFile is received ([SWS_DM_01310]). If the request is transmitted with operating mode ReplaceFile (0x03), the diagnostic server invokes the interface with write mode kReplace ([SWS_DM_01313]). The call passes the file name (fileName), the data format identifier (dataFormatIdentifier), file sizes (fileSizes), the replacement mode (mode), additional metadata (metaInfo), and a cancellationHandler. The specification statement "file to read" for parameter fileName is likely an editorial oversight and designates the destination path of the file to be written. Question Q-f14158fc20fda8af (open)

Processing is asynchronous and returns a ara::core::Future<DataTransferWriteSession> ([SWS_DM_01333]). The resulting session serves as a link between the initialization via service 0x38 and the subsequent data transfers via TransferData (0x36) (AUTOSAR_AP_SWS_Diagnostics §7.3.2.8.20 “Service 0x38 – RequestFileTransfer”).

Error Handling and Concurrency

The method is declared as noexcept. If an error occurs, no C++ error is thrown, but an appropriate UDS NRC from DiagUdsNrcErrc according to ISO 14229-1 is returned in the future ([SWS_DM_01333]). Via the passed cancellationHandler, the cancellation status can be queried using IsCanceled() or a notification can be registered using SetNotifier() in case the diagnostic conversation terminates. Thread safety is conditional: Whether the function must be implemented thread-safe is determined via the ConcurrencyType in the constructor ([SWS_DM_01333]).

Interaction

The operation complements the interaction of the file transfer services and is complementary to read operations such as RequestReadFile ([SWS_DM_01314]) or the resumption of interrupted write operations via RequestResumeWriteFile ([SWS_DM_01316]).

This usage note was generated automatically based on the specification status.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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
fileNamePath including name of the file to read
dataFormatIdentifierUDS dataFormat Identifier
fileSizesThe compressed/uncompressed files sizes
modeThe file replacement mode
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< DataTransferWriteSession >A Future with either an instance of the file writing session to be reported to the UDS client (for a positive response message) or an UDS NRC value (for a 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_01333
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01333@rel:R25-11#c3df1383
Content hash
c3df1383
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01333
Status: valid/unmigrated Version: rel:R25-11#51c3d98c Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01333@rel:R25-11#51c3d98c
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#c3df13832026-09-30
  • R22-11rel:R22-11#70b47e362026-10-14
  • R23-11rel:R23-11#5d904ef32026-10-14
  • R24-11rel:R24-11#27f280b82026-10-14
  • R25-11rel:R25-11#51c3d98c2026-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_01337] Upstream: RS_Diag_04135

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: b1eec837af18 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Function StopOffer of class ara::diag::FileTransferService is used to unregister the service from Diagnostic Management ([SWS_DM_01337]; AUTOSAR_AP_SWS_Diagnostics §8.18.1.2.3.7 “StopOffer”). Its call causes the DM from that point on to no longer forward incoming diagnostic requests to this service instance. The interface is defined in header #include "ara/diag/file_transfer.h", has the signature void StopOffer() const noexcept;, expects no parameters, and returns no return value. The call is executed synchronously.

No error mechanism is provided for StopOffer. The method is declared as exception safe (exception safe) and with the specifier noexcept ([SWS_DM_01337]). Neither are exceptions thrown nor error codes returned to the application. Disabling forwarding does not fail from the API's perspective.

According to the specification, StopOffer is classified as not thread-safe (not thread-safe) ([SWS_DM_01337]). Therefore, concurrent accesses to the same instance of ara::diag::FileTransferService must be protected against concurrency on the application side. Interpretation: Disabling is typically likely to occur before destroying the object or during an orderly shutdown of the processing application, so that no requests run into a routine that is no longer operational. Question Q-e7bb2a5621c39160 (open)

Disabling via StopOffer follows the uniform architectural pattern of AUTOSAR Adaptive for provided diagnostic services. It corresponds to identical disabling functions of related classes such as ara::diag::DownloadService ([SWS_DM_00793]), ara::diag::UploadService ([SWS_DM_00803]), ara::diag::CommunicationControl ([SWS_DM_00810]), and ara::diag::Monitor ([SWS_DM_01089]; AUTOSAR_AP_SWS_Diagnostics §7.3.4.1.2 “Monitors”).

This text was generated by an AI based on the specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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_01337
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01337@rel:R25-11#a8ae9f32
Content hash
a8ae9f32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01337
Status: valid/unmigrated Version: rel:R25-11#70a7f50e Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01337@rel:R25-11#70a7f50e
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#a8ae9f322026-09-30
  • R22-11rel:R22-11#654bd0092026-10-14
  • R23-11rel:R23-11#f129c87f2026-10-14
  • R24-11rel:R24-11#70a7f50e2026-10-14
  • R25-11rel:R25-11#70a7f50e2026-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_01329] Upstream: RS_Diag_04135

auto operator= (FileTransferService const &) -> FileTransferService &=delete;

FileTransferService shall be a single not assignable instance.

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01329
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01329@rel:R25-11#b8722548
Content hash
b8722548
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01329
Status: valid/unmigrated Version: rel:R25-11#1ea28835 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01329@rel:R25-11#1ea28835
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#b87225482026-09-30
  • R22-11rel:R22-11#718170092026-10-14
  • R23-11rel:R23-11#5215d06f2026-10-14
  • R24-11rel:R24-11#1ea288352026-10-14
  • R25-11rel:R25-11#1ea288352026-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_01330] Upstream: RS_Diag_04135

auto operator= (FileTransferService &&other) & noexcept -> File TransferService &;

Move assigns an instance of FileTransferService.

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

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
FileTransferServiceReference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01330
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01330@rel:R25-11#dc10e40b
Content hash
dc10e40b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01330
Status: valid/unmigrated Version: rel:R25-11#3d2ac0df Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01330@rel:R25-11#3d2ac0df
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#dc10e40b2026-09-30
  • R22-11rel:R22-11#2eaabf332026-10-14
  • R23-11rel:R23-11#2e1bc2e32026-10-14
  • R24-11rel:R24-11#275db4722026-10-14
  • R25-11rel:R25-11#3d2ac0df2026-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 ~FileTransferService [SWS_DM_01326] Upstream: RS_Diag_04135

virtual ~FileTransferService () noexcept;

Destructor of class FileTransferService.

Header-Datei#include "ara/diag/file_transfer.h"
Scopeclass ara::diag::FileTransferService
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_01326
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01326@rel:R25-11#838a4706
Content hash
838a4706
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01326
Status: valid/unmigrated Version: rel:R25-11#8e0522c6 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01326@rel:R25-11#8e0522c6
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#838a47062026-09-30
  • R22-11rel:R22-11#34fabb372026-10-14
  • R23-11rel:R23-11#0e9f351d2026-10-14
  • R24-11rel:R24-11#8e0522c62026-10-14
  • R25-11rel:R25-11#8e0522c62026-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

Enumeration documentation

enumeration WriteFileMode [SWS_DM_01324] Upstream: RS_Diag_04135

enum class WriteFileMode :             ara::core::Byte {...};

Determines the write file operation mode.

Header-Datei#include "ara/diag/file_transfer.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::FileTransferService
SymbolWriteFileMode
Basistypara::core::Byte

Werte

EnumeratorBeschreibung
kAddThe file shall be added only if not existing.
kReplaceThe file shall be added in any case, if already exists, will be replaced.

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

Record
AUTOSAR/AP/record/SWS_DM_01324
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01324@rel:R25-11#5ddcfb10
Content hash
5ddcfb10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01324
Status: valid/unmigrated Version: rel:R25-11#ccf1739f Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_DM_01324@rel:R25-11#ccf1739f
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#5ddcfb102026-09-30
  • R22-11rel:R22-11#50d44c362026-10-14
  • R23-11rel:R23-11#0e3c6f352026-10-14
  • R24-11rel:R24-11#0e3c6f352026-10-14
  • R25-11rel:R25-11#ccf1739f2026-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