함수 CommCtrlRequest [SWS_DM_00808] Upstream: RS_AP_00119, RS_AP_00138, RS_Diag_04170, RS_Diag_04278
virtual ara::core::Future< void > CommCtrlRequest (ComCtrlRequest ParamsType controlType, const MetaInfo &metaInfo, CancellationHandler cancellationHandler) noexcept=0;
Called for CommunicationControl (0x28) with any subfunction as subfunction value is part of the argument list.
순수 가상 메서드 ara::diag::CommunicationControl::CommCtrlRequest([SWS_DM_00808])는 UDS 서비스 0x28(CommunicationControl)의 진단 요청을 처리하기 위해 Diagnostic-Server-인스턴스에 의해 호출됩니다([SWS_DM_00865], SWS Diagnostics §7.3.2.8.10 “Service 0x28 – CommunicationControl”). 하위 기능을 포함한 모든 UDS 요청 매개변수는 controlType 구조체를 통해 번들로 전달됩니다([SWS_DM_00808]). 호출은 ara::core::Future<void>을(를) 반환하므로 처리가 비동기식으로 이루어집니다. 매개변수 cancellationHandler을(를) 통해 애플리케이션은 IsCanceled()을(를) 사용하여 취소 상태를 조회하거나 SetNotifier()을(를) 통해 대화 취소에 대한 콜백을 등록할 수 있습니다([SWS_DM_00808]).
애플리케이션이 오류 없이 처리를 완료하면 Diagnostic Server는 긍정 UDS 응답을 전송합니다([SWS_DM_00199]). 오류가 발생하면 이는 ISO 14229-1에 따라 ara::diag::DiagUdsNrcErrc을(를) 통해 적절한 Negative Response Code(NRC)로 보고되어야 합니다([SWS_DM_00808]). 그러면 서버는 이 오류 코드로 서비스 요청에 부정 응답합니다([SWS_DM_00866]). 구성되지 않은 하위 기능은 서버에서 사전에 NRC 0x12(kSubFunctionNotSupported)로 거부됩니다([SWS_DM_00252]).
이 메서드는 noexcept(으)로 선언되어 있으며 예외 안전합니다([SWS_DM_00808], SWS Diagnostics §8.7.1.1.3.1 “CommCtrlRequest”). 스레드 안전성은 조건부입니다: 함수가 스레드 안전하게 구현되어야 하는지 여부는 인스턴스의 생성자 매개변수 ConcurrencyType을(를) 통해 결정됩니다([SWS_DM_00808]). Future가 처리(resolved)되기 전에 백그라운드에서 통신 모드의 실제 전환이 비동기식으로 이루어질 것으로 보입니다. 질문 Q-8a8e1bd2585fa859 (열림)
이 텍스트는 AI에 의해 작성되고 큐레이션되었습니다. 모든 진술은 AUTOSAR R25-11의 사양 문서에만 기반합니다.
구현자 가이드 준비 중 (복잡도 I1)
| Header-Datei | #include "ara/diag/communication_control.h" |
|---|---|
| Scope | class ara::diag::CommunicationControl |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | conditional whether the function has to be implemented thread safe or non-thread safe is determined by the ConcurrencyType given in the constructor |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| controlType | All UDS request parameters packed into a structure since it holds optional elements |
| metaInfo | MetaInfo of the request. |
| cancellationHandler | This 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
| Typ | Beschreibung |
|---|---|
| ara::core::Future< void > | Returns nothing or an error. |
Fehler
| Fehlercode | Beschreibung |
|---|---|
| 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_00808- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00808@rel:R25-11#b18d7dc6- Content hash
b18d7dc6- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00808
Status: valid/unmigrated
Version: rel:R25-11#727dd05b
Versionshistorie & Revisions (1 transition, 8 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_00808@rel:R25-11#727dd05b
Recorded Revisions (8):
- R25-11
rel:R25-11#424df4222026-09-30 - R19-11
rel:R19-11#70e59b9a2026-10-14 - R20-11
rel:R20-11#35c65b602026-10-14 - R21-11
rel:R21-11#aa3f917f2026-10-14 - R22-11
rel:R22-11#21c3e83e2026-10-14 - R23-11
rel:R23-11#62deb4992026-10-14 - R24-11
rel:R24-11#f7c711472026-10-14 - R25-11
rel:R25-11#727dd05b2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · 독일어 원문