DEENESPTFRRUARHIKOZHNL

struct ara::diag::CommunicationControl::ComCtrlRequestParamsType

[SWS_DM_00805] Upstream: RS_Diag_04278

struct ComCtrlRequestParamsType {...};

ComCtrlRequestParamsType is a structure, which holds all parameters of an UDS 0x28 communicationControl request.

Header-Datei#include "ara/diag/communication_control.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopeclass ara::diag::CommunicationControl

User GuideAI-GENERATED

Serves as a parameter container for the evaluation and processing of UDS 0x28 communication control requests.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: edde1b3d434e Provenance Open questions (3)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves as a parameter container for the evaluation and processing of UDS 0x28 communication control requests.

The data structure bundles all input parameters of a UDS service request 0x28 for adaptive communication control according to [SWS_DM_00805]. Upon arrival of such a diagnostic message, the platform deserializes the control and communication types as well as the node identification and passes the populated structure to the corresponding service handler. The application software evaluates the contained values to specifically influence the transmission and reception behavior of defined network segments (AUTOSAR_AP_SWS_Diagnostics §8.7.2 “Struct: ComCtrlRequestParamsType”). As a stateless data container, the structure possesses no concurrency synchronization of its own, which is why accesses should remain within the execution context of the handler.

Context

The structure ara::diag::CommunicationControl::ComCtrlRequestParamsType is a central data transfer type within the functional diagnostic interface of AUTOSAR Adaptive [SWS_DM_00805]. It is declared in the header file ara/diag/communication_control.h and serves as a standardized parameter container encapsulating all input parameters of a diagnostic request of the UDS service 0x28 (CommunicationControl) (AUTOSAR_AP_SWS_Diagnostics §8.7.2 “Struct: ComCtrlRequestParamsType”).

In the overall system, the structure acts as an intermediary between AUTOSAR Diagnostic Management and the adaptive application software responsible for vehicle-specific communication control. Incoming diagnostic commands from external testers are deserialized at the platform level and passed to the application via this structure. The structure comprises three public member variables (AUTOSAR_AP_SWS_Diagnostics §8.7.2.1 “Public Member Variables”):

Lifecycle

As an elementary C++ structure (struct) [SWS_DM_00805], ComCtrlRequestParamsType exhibits the characteristics of a simple value type (Plain Old Data / POD). It has no internal state machine, no virtual function pointers, and no dynamically allocated memory areas (AUTOSAR_AP_SWS_Diagnostics §8.7.2.1 “Public Member Variables”).

An instance is typically created transiently by the Diagnostic Management framework: As soon as a UDS 0x28 message has been received and formally validated, the stack instantiates the structure and initializes the member variables with the decoded payload (Interpretation: Object creation is entirely the responsibility of the middleware as part of request acceptance). Question Q-1abe8049ce5759f2 (open) Ownership is strictly limited to the context of the method call. The platform usually passes the instance by value or const reference to the service handler of the application; the receiving application does not take permanent ownership of the instance.

Accordingly, no lifecycle phases or complex state transitions exist. The destruction of the instance occurs automatically upon leaving the scope of the respective callback call. In terms of concurrency, ComCtrlRequestParamsType does not implement its own synchronization mechanisms. Since the members are usually evaluated in a read-only manner by the application software after initialization by the platform, access is expected to be thread-safe provided that the instance is passed thread-locally to the processing context (Interpretation: No external locks are required for evaluation). Question Q-d654753d06273bca (open)

Usage Path

The typical usage path within diagnostic processing takes place in a fixed sequence of steps from the network message to the application response (AUTOSAR_AP_SWS_Diagnostics §8.7.2 “Struct: ComCtrlRequestParamsType”):

  1. Reception of the diagnostic message: An external diagnostic tester sends a UDS 0x28 request to the ECU. The Adaptive Diagnostic Management receives the data packet at transport layer.
  2. Deserialization and instantiation: The diagnostic stack parses the payload, creates an instance of ComCtrlRequestParamsType [SWS_DM_00805], and assigns the transmitted values to the fields controlType [SWS_DM_01562], communicationType [SWS_DM_01563], and nodeIdentificationNumber [SWS_DM_01564].
  3. Handoff to the service handler: The middleware forwards the instance to the implemented callback method of the CommunicationControl interface in the adaptive application.
  4. Parameter evaluation and execution: The adaptive application reads out the structure. Based on the nodeIdentificationNumber [SWS_DM_01564], it is determined whether the node itself or a subnet is addressed. Subsequently, the corresponding transmission and reception modes are activated or deactivated via controlType [SWS_DM_01562] and communicationType [SWS_DM_01563].
  5. Acknowledgment: After successful execution, the application confirms the process to Diagnostic Management, which transmits the standard-compliant positive UDS response to the diagnostic tester.
Sequence of parameter passing for UDS 0x28DiagnosetesterDiagnosticManagementAdaptiveApplikationUDS-Anfrage 0x28(CommunicationControl)Creation & populationComCtrlRequestParamsTypeAufruf Handler(ComCtrlRequestParamsType)Auswertung von controlType,communicationType, nodeIDReturn resultUDS-Antwort (0x68)

Sequence diagram: Typical flow of request processing from the UDS 0x28 message to parameter evaluation in the application. Sources: [SWS_DM_00805], AUTOSAR_AP_SWS_Diagnostics §8.7.2 “Struct: ComCtrlRequestParamsType”

This guide was generated by an AI system based on the AUTOSAR AP R25-11 specification.

Member map

Class diagram

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

G nara__diag__CommunicationControl__ComCtrlRequestParamsType893 «struct» ComCtrlRequestParamsType + communicationType + controlType + nodeIdentificationNumber

Detail view

Select an entry in the outline.

Constants

CommunicationType from UDS request.

std::uint8_t communicationType;
controlType variable

ControlType from UDS request.

std::uint8_t controlType;

Node identifier to which the request is addressed to.

std::uint16_t nodeIdentificationNumber;

Documentation of constants / variables

variable communicationType [SWS_DM_01563] Upstream: RS_Diag_04278

std::uint8_t communicationType;

CommunicationType from UDS request.

Header-Datei#include "ara/diag/communication_control.h"
Scopestruct ara::diag::CommunicationControl::ComCtrlRequestParamsType
SymbolcommunicationType
Typstd::uint8_t

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

Record
AUTOSAR/AP/record/SWS_DM_01563
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01563@rel:R25-11#3983ac58
Content hash
3983ac58
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01563
Status: valid/unmigrated Version: rel:R25-11#17f27f8c 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_01563@rel:R25-11#17f27f8c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#3983ac582026-09-30
  • R23-11rel:R23-11#17f27f8c2026-10-14
  • R24-11rel:R24-11#17f27f8c2026-10-14
  • R25-11rel:R25-11#17f27f8c2026-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 controlType [SWS_DM_01562] Upstream: RS_Diag_04278

std::uint8_t controlType;

ControlType from UDS request.

Header-Datei#include "ara/diag/communication_control.h"
Scopestruct ara::diag::CommunicationControl::ComCtrlRequestParamsType
SymbolcontrolType
Typstd::uint8_t

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

Record
AUTOSAR/AP/record/SWS_DM_01562
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01562@rel:R25-11#d454975d
Content hash
d454975d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01562
Status: valid/unmigrated Version: rel:R25-11#ca79b2bb 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_01562@rel:R25-11#ca79b2bb
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#d454975d2026-09-30
  • R23-11rel:R23-11#ca79b2bb2026-10-14
  • R24-11rel:R24-11#ca79b2bb2026-10-14
  • R25-11rel:R25-11#ca79b2bb2026-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 nodeIdentificationNumber [SWS_DM_01564] Upstream: RS_Diag_04278

std::uint16_t nodeIdentificationNumber;

Node identifier to which the request is addressed to.

Header-Datei#include "ara/diag/communication_control.h"
Scopestruct ara::diag::CommunicationControl::ComCtrlRequestParamsType
SymbolnodeIdentificationNumber
Typstd::uint16_t

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

Record
AUTOSAR/AP/record/SWS_DM_01564
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01564@rel:R25-11#afca7725
Content hash
afca7725
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01564
Status: valid/unmigrated Version: rel:R25-11#70c5e46c 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_01564@rel:R25-11#70c5e46c
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#afca77252026-09-30
  • R23-11rel:R23-11#70c5e46c2026-10-14
  • R24-11rel:R24-11#70c5e46c2026-10-14
  • R25-11rel:R25-11#70c5e46c2026-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