DEENESPTFRRUARHIKOZHNL

namespace ara::rds

User GuideAI-GENERATED

Enables the transmission of raw binary data streams and IEEE 1722 datagrams over network connections.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c619065be59b Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables the transmission of raw binary data streams and IEEE 1722 datagrams over network connections.

The namespace provides functional interfaces for sending and receiving raw binary data streams over network connections as well as for time-critical AVTP audio/video streams AUTOSAR_AP_SWS_RawDataStream §1. Applications establish point-to-point connections via client and server classes or use dedicated producer and consumer classes to transmit typed datagrams. Read operations provide the received raw data in a structured manner in result objects. Faulty states during transmission are signaled via a module-specific error domain and standardized error codes [SWS_RDS_12367].

Context

Within the AUTOSAR Adaptive Platform, the namespace ara::rds provides functional interfaces for transmitting raw binary data streams (Raw Data Streams) over network connections AUTOSAR_AP_SWS_RawDataStream §1. The architecture serves two complementary communication patterns: generic point-to-point transmission of unstructured byte streams and time-critical streaming of typed datagrams according to the IEEE 1722 standard (Audio Video Transport Protocol, AVTP).

For byte stream transmission, RawDataStreamClient and RawDataStreamServer form the central components. The RawDataStreamClient initiates a network connection and processes subsequent read and write operations, while the RawDataStreamServer accepts and manages incoming connection requests. Results of read operations are encapsulated in instances of class ReadDataResult in order to pass received data blocks to the application logic in a structured manner.

For time-critical audio, video, and control streams, ara::rds defines a typed streaming model: IEEE1722RawDataStreamProducer serves as a source for generating and transmitting IEEE 1722 datagrams, while IEEE1722RawDataStreamConsumer acts as a sink for receiving them. Payloads and protocol headers are mapped via specialized datagram types such as IEEE1722DatagramAAF (audio), IEEE1722DatagramRVF (video), IEEE1722DatagramCRF (clock reference), and control datagrams (IEEE1722Datagram61883_IIDC, IEEE1722DatagramNTSCF, IEEE1722DatagramTSCF, and the base datagram IEEE1722Datagram). Common header fields encapsulate IEEE1722DatagramAVTPDUCommonHeaderFields and IEEE1722DatagramAVTPDUCommonStreamHeaderFields.

diag_rds_kontext client RawDataStreamClient server RawDataStreamServer client->server Netzwerkverbindung read_result ReadDataResult client->read_result provides error_domain RdsErrorDomain RdsErrc / MakeErrorCode client->error_domain error handling server->read_result provides server->error_domain error handling producer IEEE1722RawDataStreamProducer consumer IEEE1722RawDataStreamConsumer producer->consumer AVTP-Stream datagrams IEEE1722Datagram (AAF, RVF, CRF, ...) producer->datagrams erzeugt consumer->datagrams processed

Context diagram: Interaction of client/server streaming classes and IEEE 1722 streaming components with the error domain in ara::rds. Sources: [SWS_RDS_11298], [SWS_RDS_11299], [SWS_RDS_12367], AUTOSAR_AP_SWS_RawDataStream §1.

Usage Path

In the regular operational sequence of byte stream communication, a server process first instantiates RawDataStreamServer to wait for incoming connections on the network. A client process creates an instance of RawDataStreamClient and establishes the network connection to the server. As soon as the connection is established, the communication partners execute read or write calls. Each read call returns a ReadDataResult, which provides the read binary data for further processing.

In the AVTP scenario, a data producer instantiates a IEEE1722RawDataStreamProducer and configures the desired protocol and stream headers via IEEE1722DatagramAVTPDUCommonStreamHeaderFields. The payload is packed into domain-specific datagrams such as IEEE1722DatagramAAF or IEEE1722DatagramRVF. Interpretation: The transmission to the IEEE1722RawDataStreamConsumer is likely to typically take place over an AVB/TSN network, whereupon the consumer receives and decodes the typed datagrams. Question Q-3502e4b3d8365e69 (open)

Error Scenarios

Error handling in ara::rds integrates seamlessly into the model of the Adaptive Platform and relies on error domains and error codes AUTOSAR_AP_SWS_RawDataStream §1. The module defines the error domain RdsErrorDomain, whose instance can be retrieved via the function GetRdsErrorDomain() [SWS_RDS_11298].

Concrete error situations, such as transmission aborts or connection conflicts, are mapped via the enumeration RdsErrc [SWS_RDS_12367]. To generate module-specific error objects, the namespace provides the utility function MakeErrorCode(RdsErrc code, ara::core::ErrorDomain::SupportDataType data) [SWS_RDS_11299]. Interpretation: Failed I/O operations of the streaming classes are likely to return a corresponding ara::core::ErrorCode. Question Q-16627290fe526e68 (open) In addition, the specialized type RdsException exists for exception-based execution paths.

This guide was generated by an AI curation assistant based on AUTOSAR R25-11.

Diese Seite wurde vollständig KI-generiert auf Basis von SWS Raw Data Stream (R25-11) — kein offizieller AUTOSAR-Text und keine automatisch extrahierte API-Seite wie die übrigen Module. Als Interpretation gekennzeichnete Aussagen sind Schlussfolgerungen aus den Quellen.

IEEE-1722-Datagramme

IEEE 1722 datagram representation: IEEE1722Datagram.

IEEE 1722 datagram representation: IEEE1722Datagram61883_IIDC.

IEEE 1722 datagram representation: IEEE1722DatagramAAF.

IEEE 1722 datagram representation: IEEE1722DatagramAVTPDUCommonHeaderFields.

IEEE 1722 datagram representation: IEEE1722DatagramAVTPDUCommonStreamHeaderFields.

IEEE 1722 datagram representation: IEEE1722DatagramCRF.

IEEE 1722 datagram representation: IEEE1722DatagramNTSCF.

IEEE 1722 datagram representation: IEEE1722DatagramRVF.

IEEE 1722 datagram representation: IEEE1722DatagramTSCF.

Stream-Verarbeitung

Consumer for typed IEEE 1722 stream datagrams.

Producer for typed IEEE 1722 stream datagrams.

Object for reading and writing binary data streams over a network connection.

Object for accepting a connection and reading or writing binary data streams.

Result of a RawDataStream read operation.

Fehlerbehandlung

Error domain of Raw Data Stream.

Exception type for Raw Data Stream.

Returns a reference to the RDS error domain.

constexpr const ara::core::ErrorDomain &GetRdsErrorDomain() noexcept;
MakeErrorCode function

Creates an RDS ErrorCode.

constexpr ara::core::ErrorCode MakeErrorCode(RdsErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;
RdsErrc enumeration

Enumeration of Raw Data Stream error codes.

enum class RdsErrc : ara::core::ErrorDomain::CodeType {...};

Enumerations

enumeration RdsErrc [SWS_RDS_12367]

enum class RdsErrc : ara::core::ErrorDomain::CodeType {...};

Enumeration of Raw Data Stream error codes.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopenamespace ara::rds

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

Record
AUTOSAR/AP/record/SWS_RDS_12367
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_12367@rel:R25-11#f0845651
Content hash
f0845651
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_12367
Status: valid/unmigrated Version: rel:R25-11#596821be 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_RDS_12367@rel:R25-11#596821be
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#f08456512026-09-30
  • R23-11rel:R23-11#e6549baf2026-10-14
  • R24-11rel:R24-11#6ff071bc2026-10-14
  • R25-11rel:R25-11#596821be2026-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

Documentation of free functions

function GetRdsErrorDomain [SWS_RDS_11298]

constexpr const ara::core::ErrorDomain &GetRdsErrorDomain() noexcept;

Returns a reference to the RDS error domain.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopenamespace ara::rds

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

Record
AUTOSAR/AP/record/SWS_RDS_11298
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11298@rel:R25-11#539e1ccd
Content hash
539e1ccd
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11298
Status: valid/unmigrated Version: rel:R25-11#bd6801a7 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_RDS_11298@rel:R25-11#bd6801a7
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#539e1ccd2026-09-30
  • R23-11rel:R23-11#0754f4032026-10-14
  • R24-11rel:R24-11#da82d2a22026-10-14
  • R25-11rel:R25-11#bd6801a72026-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 MakeErrorCode [SWS_RDS_11299]

constexpr ara::core::ErrorCode MakeErrorCode(RdsErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept;

Creates an RDS ErrorCode.

Header-Datei#include "ara/rds/rds_error_domain.h"
Scopenamespace ara::rds

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

Record
AUTOSAR/AP/record/SWS_RDS_11299
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_RDS_11299@rel:R25-11#c411fdc8
Content hash
c411fdc8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_RawDataStream.pdf#nameddest=SWS_RDS_11299
Status: valid/unmigrated Version: rel:R25-11#9a132db3 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_RDS_11299@rel:R25-11#9a132db3
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c411fdc82026-09-30
  • R23-11rel:R23-11#598b211c2026-10-14
  • R24-11rel:R24-11#3b375e692026-10-14
  • R25-11rel:R25-11#9a132db32026-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