DEENESPTFRRUARHIKOZHNL

service interface UpdateRequest

Als ara::com-Dienst modellierte Schnittstelle; Methoden/Felder werden über generierte Proxies/Skeletons aufgerufen (Parameterrichtung IN/OUT).

User GuideAI-GENERATED

Coordinates Software Cluster updates and resets between Update and Configuration Management and State Management.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 7c32e2eacf2f Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Coordinates Software Cluster updates and resets between Update and Configuration Management and State Management.

The UpdateRequest service interface is provided by State Management to enable Update and Configuration Management to perform updates, installations, and uninstallations of Software Clusters in a structured manner [SWS_SM_91016].\nPrior to executing preparation or verification steps, an active update session must strictly be established, as SM otherwise rejects requests.\nIn addition to steps for preparation and verification, the interface also permits resetting the machine as well as safeguarding against erroneous states by means of rollback [SWS_SM_91105].\nAn essential boundary condition is that only a single update session may ever exist concurrently.

Role and system context of the service interface

The service interface UpdateRequest is provided by the State Management (SM) module via the port of the same name [SWS_SM_91016] [SWS_SM_91017]. The functional cluster Update and Configuration Management (UCM) acts as the central interaction partner and service consumer in order to handle updates, installations, and uninstallations of Software Clusters in a controlled manner SWS StateManagement §9.2.1 “UpdateRequest”. In the system context of the AUTOSAR Adaptive Platform, SM acts as server (skeleton provision) here, while UCM acts as client (proxy) in order to transition Function Groups into safe operational states and protect the vehicle state against state changes.

Methods and Fields in Detail

The interface defines six coordinating methods as well as one status field for the interaction between UCM and SM:

  • RequestUpdateSession(): Initiates an update session. The call takes place with synchronous response (Fire & Forget false) [SWS_SM_91102].
  • PrepareUpdate(IN FunctionGroupListType functionGroupList): Prepares the passed Function Groups within the affected Software Cluster for the update (Fire & Forget false) [SWS_SM_91103] [SWS_SM_00206].
  • VerifyUpdate(IN FunctionGroupListType functionGroupList): Verifies the updated Function Groups after successful preparation (Fire & Forget false) [SWS_SM_91104].
  • PrepareRollback(IN FunctionGroupListType functionGroupList): Prepares the Function Groups for rolling back a failed update (Fire & Forget false) [SWS_SM_91105].
  • ResetMachine(): Requests a machine restart; this call is modeled as an asynchronous fire-and-forget (Fire & Forget true) [SWS_SM_91100].
  • StopUpdateSession(): Informs SM about the completion of the update and the return to a stable machine state (Fire & Forget false) [SWS_SM_91101] [SWS_SM_00205].
  • ResetMachineNotifier: A field of type UpdateStatusType with getter and notifier (without setter), through which UCM monitors the status of the machine reset during and after its execution [SWS_SM_91106] [SWS_SM_00211].

Interpretation: For all methods with Fire & Forget false, the synchronous result delivery is likely transmitted to the client via standard future objects (such as ara::core::Future), whereas ResetMachine returns immediately without a return value and instead offloads status tracking to the notifier field [SWS_SM_91100] [SWS_SM_91106]. Question Q-95191d5ab02d15ba (open)

Lifecycle, session sequences, and state dependencies

Any interaction to modify Software Clusters requires a strictly sequenced session. State Management must persistently store information about an ongoing update session so that it can be retrieved and continued after any machine reset [SWS_SM_00204] SWS StateManagement §7.x. UCM initiates the cycle via RequestUpdateSession. Only once SM has granted this permission may preparation or verification steps be executed [SWS_SM_91102] [SWS_SM_91103].

If a machine reset is triggered via ResetMachine in the course of the process, SM saves all machine data beforehand [SWS_SM_91100]. During startup, SM transitions to the ContinueUpdate state, while UCM synchronizes the restart via the field ResetMachineNotifier [SWS_SM_00211] SWS StateManagement §7.x “ResetMachine notification”. As soon as all update steps have been completed and the overall system is once again in a consistent state, UCM closes the session with StopUpdateSession [SWS_SM_91101] [SWS_SM_00205].

Sequence of an update session via UpdateRequestUpdate and Configuration ManagementState ManagementRequestUpdateSession()Erfolg (Sitzung aktiv)PrepareUpdate(functionGroupList)ErfolgVerifyUpdate(functionGroupList)ErfolgoptNeustart erforderlichResetMachine() [Fire & Forget]ResetMachineNotifier (Statusaktualisierung)StopUpdateSession()Erfolg (Sitzung beendet)

Sequence diagram: Interaction sequence of an update session between UCM and SM. Sources: [SWS_SM_91102], [SWS_SM_91103], [SWS_SM_91104], [SWS_SM_91100], [SWS_SM_91106], [SWS_SM_91101]

Error handling and Application Errors

The interface safeguards the sequence via specific Application Errors. If the methods PrepareUpdate, VerifyUpdate, PrepareRollback, or StopUpdateSession are called outside of an active update session, SM rejects them with the error code kOperationRejected [SWS_SM_00213]. Likewise, ResetMachine is rejected if no update session was successfully opened beforehand or internal machine states prohibit the reset [SWS_SM_91100].

If RequestUpdateSession is called again when a session already exists, rejection occurs with kNotAllowedMultipleUpdateSessions, as architecturally only a single active update session is permitted [SWS_SM_91102]. If functional issues occur during the execution of preparation, verification, or rollback operations, the methods PrepareUpdate, VerifyUpdate, and PrepareRollback return the error kOperationFailed [SWS_SM_91103] [SWS_SM_91104] [SWS_SM_91105].

This guide is based exclusively on the specifications of the AUTOSAR Adaptive Platform R25-11 for the State Management module.

Mitglieder

Methods

PrepareRollback service method

Has to be called by Update And Configuration Management after State Management allowed to update.

PrepareRollback (IN FunctionGroupListType functionGroupList)
PrepareUpdate service method

Has to be called by Update And Configuration Management after State Management allowed to update. State Management will decline this request when RequestUpdateSession was not called before successfully.

PrepareUpdate (IN FunctionGroupListType functionGroupList)
RequestUpdateSession service method

Has to be called by Update And Configuration Management once it has to start interaction with State Management. State Management might decline this request when machine is not in a state to be updated.

ResetMachine service method

Requests a reset of the machine. Before the reset is performed all information within the machine shall be persisted. Request will be rejected when RequestUpdateSession was not called successfully before.

StopUpdateSession service method

Has to be called by Update And Configuration Management once the update is finished to let State Management know that the update is done and the Machine is in a stable state. Request will be rejected when RequestUpdateSession was not called successfully before.

VerifyUpdate service method

Has to be called by Update And Configuration Management after State Management allowed to update and the update preparation has been done. State Management will decline this request when Prepare Update was not called before successfully.

VerifyUpdate (IN FunctionGroupListType functionGroupList)

Fields

ResetMachineNotifier service field

To be set by State Management to inform UCM about changes during and after processing the method ResetMachine().

ResetMachineNotifier : UpdateStatusType // Field (Getter, Notifier)

Data types

Application errors

Request for new session was rejected as only single active (update) session is allowed.

kOperationFailed application error

Requested operation failed.

kOperationRejected application error

Requested operation was rejected due to State Managements/machines internal state.

Documentation

service method PrepareRollback [SWS_SM_91105] Upstream: RS_SM_00001, RS_SM_00004

PrepareRollback (IN FunctionGroupListType functionGroupList)

Has to be called by Update And Configuration Management after State Management allowed to update.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 338db12ed8a6 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The service method PrepareRollback of the service interface UpdateRequest is called by Update and Configuration Management to prepare the rollback of changes for the function groups of a software cluster passed in parameter functionGroupList [SWS_SM_91105]. The call is made without fire-and-forget semantics, so that State Management reports the result of the preparation back to the caller [SWS_SM_91105].

Fixed conditions apply to the call and error handling:

  • Session context: The call is only permitted within an active update session. If it occurs outside an active session, State Management rejects the operation with error kOperationRejected [SWS_SM_00213].
  • Application errors: In addition to kOperationRejected in case of an invalid internal state, the method can return kOperationFailed if preparation fails [SWS_SM_91105].

In the state model, the method call has direct effects on the participating state machines:

  • State machines that manage one of the passed function groups are marked as ImpactedByUpdate by the controlling process [SWS_SM_00654].
  • If a state machine of type Agent is marked, this status also transitively transfers to the parent Controller [SWS_SM_00655].
  • For state machines marked as ImpactedByUpdate, reported execution errors (ExecutionErrorEvent::executionError) are not handled via recovery, but are ignored and merely logged [SWS_SM_00664].

This usage note was generated automatically based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgetfalse
Version1.0

Parameter

NameRichtungTypBeschreibung
functionGroupListINFunctionGroupListTypeThe list of FunctionGroups within the SoftwareCluster to be prepared to roll back.

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.
kOperationFailedRequested operation failed.

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

Record
AUTOSAR/AP/record/SWS_SM_91105
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91105@rel:R25-11#f02cfbd6
Content hash
f02cfbd6
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91105
Status: valid/unmigrated Version: rel:R25-11#bee04545 Versionshistorie & Revisions (1 transition, 3 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_SM_91105@rel:R25-11#bee04545
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#f02cfbd62026-09-30
  • R24-11rel:R24-11#37f538e72026-10-14
  • R25-11rel:R25-11#bee045452026-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

service method PrepareUpdate [SWS_SM_91103] Upstream: RS_SM_00001, RS_SM_00004

PrepareUpdate (IN FunctionGroupListType functionGroupList)

Has to be called by Update And Configuration Management after State Management allowed to update. State Management will decline this request when RequestUpdateSession was not called before successfully.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c872595b8247 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The service method PrepareUpdate is called by Update and Configuration Management (UCM) to request State Management to prepare the update of a set of function groups [SWS_SM_00206], [SWS_SM_91103]. It is provided via the service interface UpdateRequest and accepts the list functionGroupList of type FunctionGroupListType as an input parameter, which specifies the function groups to be updated within the software cluster [SWS_SM_91103]. Since fire & forget is deactivated, the call has synchronous response semantics with feedback to the caller [SWS_SM_91103].

Ordering Requirements and Concurrency

A call is only permissible within an update session previously successfully initiated by RequestUpdateSession [SWS_SM_91103]. During the call, the controlling process marks all state machines that manage one of the passed function groups as ImpactedByUpdate [SWS_SM_00654]. If this affects a state machine of type Agent, the superordinate Controller state machine is automatically marked as ImpactedByUpdate as well [SWS_SM_00655]. As long as this state persists, external state transitions are blocked: Each call to RequestTransition is answered with kUpdateInProgress [SWS_SM_00649]. In addition, recovery requests in case of execution errors (ExecutionErrorEvent::executionError) are ignored and merely logged [SWS_SM_00664].

Error handling

Two specific application errors are defined for the method [SWS_SM_91103]:

  • kOperationRejected: Is returned when the call occurs outside an active update session [SWS_SM_00213] or the internal state of State Management rejects the operation [SWS_SM_91103].
  • kOperationFailed: Indicates that the requested preparation of the function groups has failed [SWS_SM_91103].

Interpretation: The method is likely to return only after initiation or completion of the internal state transitions of the function groups, since no separate asynchronous confirmation mechanism is defined in the interface. Question Q-9994d886fd5504d8 (open)

This usage note was generated automatically based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgetfalse
Version1.0

Parameter

NameRichtungTypBeschreibung
functionGroupListINFunctionGroupListTypeThe list of FunctionGroups within the SoftwareCluster to be prepared to be updated.

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.
kOperationFailedRequested operation failed.

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

Record
AUTOSAR/AP/record/SWS_SM_91103
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91103@rel:R25-11#2f19c86d
Content hash
2f19c86d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91103
Status: valid/unmigrated Version: rel:R25-11#0f5eda62 Versionshistorie & Revisions (1 transition, 3 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_SM_91103@rel:R25-11#0f5eda62
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#2f19c86d2026-09-30
  • R24-11rel:R24-11#5193dad92026-10-14
  • R25-11rel:R25-11#0f5eda622026-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

service method RequestUpdateSession [SWS_SM_91102] Upstream: RS_SM_00001, RS_SM_00004

RequestUpdateSession ()

Has to be called by Update And Configuration Management once it has to start interaction with State Management. State Management might decline this request when machine is not in a state to be updated.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cbaae5472d22 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The service method RequestUpdateSession of interface UpdateRequest is called without parameters (Fire & Forget: false) and serves Update and Configuration Management as an entry point for initiating a software update [SWS_SM_91102]. Calling it initiates the transition into an active update session, which lasts until the update is terminated [SWS_SM_00210] [SWS_SM_00213].

Per machine, at most one port may be typed with interface UpdateRequest [SWS_SM_CONSTR_00020], which may only be provided by a process controlling a StateMachine of type Controller [SWS_SM_00629]. To ensure platform consistency, only a single update session may be active at any time [SWS_SM_00210]. Additionally, State Management persists the session state so that it can be read out after a machine reboot [SWS_SM_00204].

Successful acceptance of the session is a strict ordering constraint: subsequent methods such as PrepareUpdate [SWS_SM_91103], ResetMachine [SWS_SM_91100], or StopUpdateSession [SWS_SM_91101] require that RequestUpdateSession was previously called successfully [SWS_SM_00213].

In case of an error, two application-specific errors are defined [SWS_SM_91102]: If the method is called during an already ongoing session, it returns kNotAllowedMultipleUpdateSessions [SWS_SM_00209]. If verification (e.g. via interface UpdateAllowed) shows that the machine currently does not allow an update, the request is rejected with error kOperationRejected [SWS_SM_00630].

This usage note was generated automatically based on specification AUTOSAR AP R25-11.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgetfalse
Version1.0

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.
kNotAllowedMultipleUpdateSessionsRequest for new session was rejected as only single active (update) session is allowed.

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

Record
AUTOSAR/AP/record/SWS_SM_91102
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91102@rel:R25-11#9af3f2e4
Content hash
9af3f2e4
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91102
Status: valid/unmigrated Version: rel:R25-11#3aea2874 Versionshistorie & Revisions (1 transition, 3 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_SM_91102@rel:R25-11#3aea2874
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#9af3f2e42026-09-30
  • R24-11rel:R24-11#3aea28742026-10-14
  • R25-11rel:R25-11#3aea28742026-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

service method ResetMachine [SWS_SM_91100] Upstream: RS_SM_00001, RS_SM_00004

ResetMachine ()

Requests a reset of the machine. Before the reset is performed all information within the machine shall be persisted. Request will be rejected when RequestUpdateSession was not called successfully before.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5e485d61aea2 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The service method ResetMachine in the service interface UpdateRequest is called by Update and Configuration Management (UCM) to request a restart of the machine during an ongoing update session [SWS_SM_91100]. The method has no input parameters and is declared with fire-and-forget semantics [SWS_SM_91100].

Before performing the restart, all machine-internal information must be stored persistently [SWS_SM_91100]. For this purpose, State Management backs up the data of the active update session so that UCM can consistently continue the update procedure after the machine restarts [SWS_SM_00204]. When calling the method, the controlling process transitions the StateMachine of type Controller into the state Restart [SWS_SM_00658]. After the machine restart has occurred, the Controller transitions into the state ContinueUpdate to resume the update SWS StateManagement §7.2 “ResetMachine notification”.

For synchronization and tracking of execution, State Management provides the field ResetMachineNotifier [SWS_SM_00211] [SWS_SM_91106], whose initial value is kIdle [SWS_SM_00212]. Since ResetMachine is designed as a fire-and-forget call, UCM is likely to monitor the result of the restart primarily asynchronously via this notifier (interpretation). Question Q-732913d75d024929 (open)

If an update session was not successfully established beforehand via RequestUpdateSession, the call is rejected and returns the error kOperationRejected [SWS_SM_91100]. In the event of a call outside an update session, the process additionally sets the value of the field ResetMachineNotifier to kRejected [SWS_SM_00661].

This usage note was generated by an AI and is based on the specification AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgettrue
Version1.0

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.

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

Record
AUTOSAR/AP/record/SWS_SM_91100
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91100@rel:R25-11#fd593144
Content hash
fd593144
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91100
Status: valid/unmigrated Version: rel:R25-11#c372aeec Versionshistorie & Revisions (1 transition, 3 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_SM_91100@rel:R25-11#c372aeec
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#fd5931442026-09-30
  • R24-11rel:R24-11#c372aeec2026-10-14
  • R25-11rel:R25-11#c372aeec2026-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

service field ResetMachineNotifier [SWS_SM_91106] Upstream: RS_SM_00001, RS_SM_00004

ResetMachineNotifier : UpdateStatusType  // Field (Getter, Notifier)

To be set by State Management to inform UCM about changes during and after processing the method ResetMachine().

Scopeservice interface UpdateRequest
TypUpdateStatusType
Version1.0
HasGettertrue
HasSetterfalse
HasNotifiertrue
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: ed2ae5c3926b Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The service field ResetMachineNotifier of type UpdateStatusType [SWS_SM_91027] belongs to the service interface UpdateRequest and serves to enable Update and Configuration Management (UCM) to track the status of the method ResetMachine during and after its execution [SWS_SM_00211] [SWS_SM_91106]. The field provides a getter and a notifier, but has no setter [SWS_SM_91106]. UCM is typically expected to subscribe to the notifier in order to receive state changes asynchronously without polling after the machine restarts. Question Q-122f44b23cd76238 (open)

The lifecycle of the field comprises the following states and state transitions:

  • Initial value: The default value of the field is kIdle [SWS_SM_00212].
  • Rejection outside a session: If ResetMachine is called outside an active update session, the modeled controller process sets the field value to kRejected [SWS_SM_00661].
  • Reset and continuation: Within an update session, ResetMachine leads to a transition to the state Restart [SWS_SM_00658]. After the machine boots up, State Management and UCM synchronize again. Upon successful completion of the transition to ContinueUpdate, the field is set to kSuccessful [SWS_SM_00662].
  • Error case: If the execution of the transition to ContinueUpdate fails, the value of the field changes to kFailed [SWS_SM_00663].

If the update session is terminated via StopUpdateSession, the state machine transitions to the state AfterUpdate [SWS_SM_00646], and State Management resets the field ResetMachineNotifier back to the default value kIdle [SWS_SM_00660].

This usage note was generated automatically based on the specification AUTOSAR AP R25-11.

Implementer's Guide to follow (complexity I2)

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

Record
AUTOSAR/AP/record/SWS_SM_91106
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91106@rel:R25-11#71020852
Content hash
71020852
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91106
Status: valid/unmigrated Version: rel:R25-11#5ce79c6d Versionshistorie & Revisions (1 transition, 3 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_SM_91106@rel:R25-11#5ce79c6d
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#710208522026-09-30
  • R24-11rel:R24-11#5ce79c6d2026-10-14
  • R25-11rel:R25-11#5ce79c6d2026-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

service method StopUpdateSession [SWS_SM_91101] Upstream: RS_SM_00001, RS_SM_00004

StopUpdateSession ()

Has to be called by Update And Configuration Management once the update is finished to let State Management know that the update is done and the Machine is in a stable state. Request will be rejected when RequestUpdateSession was not called successfully before.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: db8101e9ede8 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The service method StopUpdateSession of the service interface UpdateRequest ([SWS_SM_91101]) is called by Update and Configuration Management as soon as the update is completed and the machine is in a stable state. The call takes place without parameters and has synchronous or asynchronous request-response semantics (fire & forget is false).

Call Conditions and Error Handling

Execution requires a previously successfully started update session. If the call of StopUpdateSession occurs outside an active update session, the request is rejected and returns the error kOperationRejected ([SWS_SM_00213], [SWS_SM_91101]).

System Behavior and State Transitions

The call ends the ongoing update session (AUTOSAR_AP_SWS_StateManagement p. 90). In State Management, this triggers several coordinated actions:

  • The modeled process that controls the StateMachine of type Controller transitions it into the state AfterUpdate ([SWS_SM_00646]).
  • The field ResetMachineNotifier is reset to its default value ([SWS_SM_00660]).
  • For StateMachine instances of type Controller, the blocking of RequestTransition is removed; subsequent calls no longer respond with kUpdateInProgress ([SWS_SM_00647]).
  • The flag ImpactedByUpdate is removed from affected StateMachine instances ([SWS_SM_00656]), thereby releasing regular state transitions and recovery actions again.

This usage note was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgetfalse
Version1.0

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.

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

Record
AUTOSAR/AP/record/SWS_SM_91101
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91101@rel:R25-11#664474a0
Content hash
664474a0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91101
Status: valid/unmigrated Version: rel:R25-11#298d3171 Versionshistorie & Revisions (1 transition, 3 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_SM_91101@rel:R25-11#298d3171
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#664474a02026-09-30
  • R24-11rel:R24-11#0acf7ad42026-10-14
  • R25-11rel:R25-11#298d31712026-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

service method VerifyUpdate [SWS_SM_91104] Upstream: RS_SM_00001, RS_SM_00004

VerifyUpdate (IN FunctionGroupListType functionGroupList)

Has to be called by Update And Configuration Management after State Management allowed to update and the update preparation has been done. State Management will decline this request when Prepare Update was not called before successfully.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: b04d46f46141 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Call Context

The service method VerifyUpdate is called by Update and Configuration Management (UCM) via the service interface UpdateRequest to instruct State Management to verify updated function groups [SWS_SM_00207]. The parameter passed is functionGroupList (type FunctionGroupListType), which contains the list of function groups to be checked in the respective SoftwareCluster [SWS_SM_91104]. Since the method is not defined as fire-and-forget (Fire & Forget: false), the caller expects a synchronous feedback or feedback available upon completion [SWS_SM_91104].

Sequence and Error Handling

The call is subject to strict state preconditions: It is only permitted within an active update session and requires that State Management has allowed the update and that phase PrepareUpdate has been completed successfully beforehand [SWS_SM_91104].

  • kOperationRejected: Returned if the call occurs outside an active update session [SWS_SM_00213] or if the internal state of State Management or the participating state machines rejects verification (for example, if PrepareUpdate was not successful) [SWS_SM_91104].
  • kOperationFailed: Indicates that the requested verification operation has failed [SWS_SM_91104].

Interaction and Concurrency

During processing, the controlling Modeled Process of a StateMachine of type Controller marks every state machine as ImpactedByUpdate whose managed function groups are listed in functionGroupList [SWS_SM_00654]. If this affects a StateMachine of type Agent, the associated Controller is also indirectly marked as ImpactedByUpdate [SWS_SM_00655]. As long as this state is active, reported execution errors (ExecutionErrorEvent::executionError) from Platform Health Management or Execution Management are ignored and merely logged [SWS_SM_00664]. Presumably, the affected state machines are transitioned during this step into state VerifyUpdate, which is among the five mandatory states of every StateMachine AUTOSAR_AP_SWS_StateManagement §7.7.1 “StateMachine introduction”. Question Q-cd5deaf13acfc2f5 (open)

This usage note was generated automatically based on the specification documents of AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I2)

Scopeservice interface UpdateRequest
Fire & Forgetfalse
Version1.0

Parameter

NameRichtungTypBeschreibung
functionGroupListINFunctionGroupListTypeThe list of FunctionGroups within the SoftwareCluster to be verified.

Application Errors

FehlerBeschreibung
kOperationRejectedRequested operation was rejected due to State Managements/machines internal state.
kOperationFailedRequested operation failed.

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

Record
AUTOSAR/AP/record/SWS_SM_91104
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91104@rel:R25-11#d5caf481
Content hash
d5caf481
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91104
Status: valid/unmigrated Version: rel:R25-11#abe95880 Versionshistorie & Revisions (1 transition, 3 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_SM_91104@rel:R25-11#abe95880
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#d5caf4812026-09-30
  • R24-11rel:R24-11#abe958802026-10-14
  • R25-11rel:R25-11#abe958802026-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