DEENESPTFRRUARHIKOZHNL

struct ara::diag::SovdConfiguration::SovdConfigurationMetaInfo

[SWS_DM_01861] Upstream: RS_Diag_04261

struct SovdConfigurationMetaInfo {...};

MetaInfo for Transfer of SOVD Configurations.

Header-Datei#include "ara/diag/sovd_configuration.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::SovdConfiguration

User GuideAI-GENERATED

Provides metainformation such as MIME type and data size for the transfer of SOVD configurations.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 487f6d360b41 Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Provides metainformation such as MIME type and data size for the transfer of SOVD configurations.

The structure ara::diag::SovdConfiguration::SovdConfigurationMetaInfo serves as a data transfer object for metainformation during the transfer of SOVD configuration data in AUTOSAR Adaptive [SWS_DM_01861]. It bundles the MIME type in mimetype as well as optionally the total length of the configuration data in size, which are populated by the application prior to passing to the transfer methods [SWS_DM_01863]. As a passive C++ data structure without its own methods, it possesses neither thread safety nor validation logic, so that consistency checks are performed only by the processing platform services.

Context

The structure ara::diag::SovdConfiguration::SovdConfigurationMetaInfo serves as a standardized metadata container for the transfer of SOVD configuration data (Service-Oriented Vehicle Diagnostics) in the AUTOSAR Adaptive Platform [SWS_DM_01861]. It is declared in header ara/diag/sovd_configuration.h and organizationally assigned directly to the interface class ara::diag::SovdConfiguration AUTOSAR_AP_SWS_Diagnostics §8.54.2 “Struct: SovdConfigurationMetaInfo”. Its core responsibility is to provide the metainformation required for the diagnostic configuration transfer, such as the content type and the extent of the data [SWS_DM_01862], [SWS_DM_01863].

The primary interaction partners include, on the one hand, the applying diagnostic application that generates, modifies, or processes configuration data, and, on the other hand, the diagnostic management system of AUTOSAR Adaptive. The structure acts as a data transfer object (DTO) that mediates between the application-specific logic and the standardized transfer services of the diagnostic platform. Via the provided fields, sender and receiver can agree on the format in which the configuration data is present and how many bytes are expected in the transmission channel.

Lifecycle

As a purely passive C++ data type (struct), SovdConfigurationMetaInfo is not subject to complex platform-controlled lifecycle phases [SWS_DM_01861]. Creation is typically performed directly by the Adaptive Application on the stack or on the heap immediately before a configuration transfer is initiated or a received metadata record is evaluated. The structure follows regular C++ value semantics; the owning component bears responsibility for instantiation and lifetime.

Regarding internal state, the structure has no state machine and no discrete operating modes. After initialization of the public variables, the data remains unchanged in memory until the instance is destroyed, unless explicitly overwritten by the owning application. Deallocation of the instance occurs automatically according to the RAII pattern upon leaving the scope, releasing the dynamically allocated memory of the contained string [SWS_DM_01863].

Regarding concurrency, SovdConfigurationMetaInfo provides no built-in thread safety. Multiple threads may process an instance concurrently for reading, for example to inspect the configuration parameters. Concurrent write accesses to the same instance, however, require external synchronization measures, as competing modifications to the member variables lead to data inconsistencies.

Usage Path

A typical use case consists of preparing and providing metadata prior to the actual configuration transfer. The application first instantiates the structure and assigns a string describing the media type of the configuration file to the field mimetype [SWS_DM_01863], AUTOSAR_AP_SWS_Diagnostics §8.54.2.1.1 “mimetype”. This allows the receiver to map to a parser or schema, for example for JSON- or XML-based configurations.

In the next step, it is verified whether the exact file size of the payload can be determined in advance. If this is the case, the attribute size is populated with the corresponding integer byte value [SWS_DM_01862], AUTOSAR_AP_SWS_Diagnostics §8.54.2.1.2 “size”. If the size is unknown prior to starting the transmission, the variable remains unset. Subsequently, the prepared object is passed as an argument to the transfer function of class ara::diag::SovdConfiguration.

Metadata provision sequence during SOVD configuration transferApplicationSovdConfigurationMetaInfoSovdConfigurationCreation of the instanceSetting of mimetype and optional sizePassing of configuration including MetaInfoFeedback on transfer status

Sequence diagram: Typical sequence of initialization and handover of SovdConfigurationMetaInfo as part of the configuration transfer. Sources: [SWS_DM_01861], [SWS_DM_01862], [SWS_DM_01863], AUTOSAR_AP_SWS_Diagnostics §8.54.2 “Struct: SovdConfigurationMetaInfo”.

Error Scenarios

Since SovdConfigurationMetaInfo is designed as a pure data structure without member functions, it does not define its own return values, error codes, or exceptions [SWS_DM_01861]. Possible error conditions arise primarily from incomplete or inconsistent data assignments detected by the processing platform services in ara::diag::SovdConfiguration.

Interpretation: A first error scenario concerns impermissible MIME types. Question (open) If an empty string or an unsupported format identifier is stored in mimetype, the invoked transfer service is likely to reject processing and report a corresponding error code back to the application. A second error scenario lies in a discrepancy in data size: if the actually transmitted data volume deviates from the byte value declared in size, the diagnostic infrastructure presumably aborts the transfer due to inconsistency. Furthermore, an unset size field is likely to lead to transmission errors if the chosen transport channel strictly requires a total length known in advance.

This guide is based on the specification AUTOSAR Adaptive Platform Release R25-11.

UML class diagram

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

G nara__diag__SovdConfiguration__SovdConfigurationMetaInfo383 «struct» SovdConfigurationMetaInfo + mimetype + size

Constants

mimetype variable

Specifies the configuration mimetype .

size variable

Specifies the size of the configuration data .

Documentation of constants / variables

variable mimetype [SWS_DM_01863] Upstream: RS_Diag_04261

ara::core::String mimetype;

Specifies the configuration mimetype .

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopestruct ara::diag::SovdConfiguration::SovdConfigurationMetaInfo
Symbolmimetype
Typara::core::String

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

Record
AUTOSAR/AP/record/SWS_DM_01863
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01863@rel:R25-11#5fa2a001
Content hash
5fa2a001
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01863
Status: valid/unmigrated Version: rel:R25-11#65d44bcf 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_01863@rel:R25-11#65d44bcf
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#5fa2a0012026-09-30
  • R23-11rel:R23-11#65d44bcf2026-10-14
  • R24-11rel:R24-11#65d44bcf2026-10-14
  • R25-11rel:R25-11#65d44bcf2026-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

variable size [SWS_DM_01862] Upstream: RS_Diag_04261

ara::core::Optional<std::uint64_t> size;

Specifies the size of the configuration data .

Header-Datei#include "ara/diag/sovd_configuration.h"
Scopestruct ara::diag::SovdConfiguration::SovdConfigurationMetaInfo
Symbolsize
Typara::core::Optional< std::uint64_t >

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

Record
AUTOSAR/AP/record/SWS_DM_01862
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01862@rel:R25-11#6b9b42d2
Content hash
6b9b42d2
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01862
Status: valid/unmigrated Version: rel:R25-11#25ab5cd6 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_01862@rel:R25-11#25ab5cd6
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#6b9b42d22026-09-30
  • R23-11rel:R23-11#25ab5cd62026-10-14
  • R24-11rel:R24-11#25ab5cd62026-10-14
  • R25-11rel:R25-11#25ab5cd62026-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