functie ChannelReestablished [SWS_DM_00313] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00122, RS_Diag_04147, RS_Diag_04168
virtual void ChannelReestablished (GlobalChannelIdentifier global ChannelId) noexcept=0;
Notification call from the given transport protocol channel, that it has been reestablished since the last (Re)Start from the UdsTransportProtocolHandler to which this channel belongs. To activate this notification a previous call to UdsTransportProtocolHandler::Notify Reestablishment() has to be done. See further documentation at UdsTransport ProtocolHandler::NotifyReestablishment().
Gebruik
De methode ChannelReestablished van de klasse apext::diag::uds_transport::UdsTransportProtocolMgr dient als terugkoppeling van een UDS-transportprotocol-implementatie aan Diagnostic Management (DM) dat een communicatiekanaal na een (her)start weer beschikbaar is [SWS_DM_00313]. De transportprotocol-implementatie roept deze methode precies één keer aan zodra de hernieuwde beschikbaarheid van het door ChannelID gerepresenteerde netwerkkanaal wordt gedetecteerd [SWS_DM_00358]. Als parameter wordt globalChannelId doorgegeven, bestaande uit de tuple van de eigen handlerIdent en de ChannelID [SWS_DM_00358].
Zusammenspiel en levenscyclus
Voorwaarde voor de notificatie is een voorafgaande aanroep van NotifyReestablishment [SWS_DM_00313], [SWS_DM_00356]. Een typische use case is het uitvoeren van een ECU-reset (UDS-dienst 0x11) met de optie van een positief antwoord na de herstart [SWS_DM_00326]. Om de notificatie ook na een herstart van het DM te garanderen, moet het notificatieverzoek persistent worden opgeslagen door het transportprotocol [SWS_DM_00359].
Foutafhandeling en gelijktijdigheid
De functie heeft geen retourwaarde en is gespecificeerd als noexcept (exception safe) [SWS_DM_00313]. Aangezien de interface als niet-thread-safe (not thread-safe) is geclassificeerd [SWS_DM_00313], moeten aanroepende handlers de toegang vermoedelijk extern synchroniseren. Vraag Q-aaf14893457cceb6 (open) Als tijdsbeperking geldt dat het DM de aanroep van ChannelReestablished pas na de aanroep van UdsTransportProtocolHandler::Start mag verwerken [SWS_DM_01744].
Deze tekst is automatisch gegenereerd door een AI op basis van de AUTOSAR-specificatie R25-11.
Implementer's Guide volgt (complexiteit I2)
| Header-Datei | #include "apext/diag/uds_transport/protocol_mgr.h" |
|---|---|
| Scope | class apext::diag::uds_transport::UdsTransportProtocolMgr |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| globalChannelId | transport protocol channel, which is available again. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| None |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00313- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00313@rel:R25-11#efde8675- Content hash
efde8675- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00313
Status: valid/unmigrated
Version: rel:R25-11#4c5b70ac
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_00313@rel:R25-11#4c5b70ac
Recorded Revisions (8):
- R25-11
rel:R25-11#dacc8bb22026-09-30 - R19-11
rel:R19-11#acd4155f2026-10-14 - R20-11
rel:R20-11#9235fd502026-10-14 - R21-11
rel:R21-11#b392eb2d2026-10-14 - R22-11
rel:R22-11#b01162a42026-10-14 - R23-11
rel:R23-11#f88cee172026-10-14 - R24-11
rel:R24-11#867edbc12026-10-14 - R25-11
rel:R25-11#4c5b70ac2026-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 · Duits origineel