DEENESPTFRRUARHIKOZHNL

service interface UpdateAllowedService

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

User GuideAI-GENERATED

Enables a control application to permit or reject update sessions in State Management on a situational basis.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4ea45e89ed5c Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables a control application to permit or reject update sessions in State Management on a situational basis.

The service interface serves a control application to allow or disallow the execution of software updates to State Management (EXP SWArchitecture §9.2.2.1.1 “Interfaces for a SMControlApplication”). Via the provided field, the application transmits the permission status to the controller of the state management ([SWS_SM_91108]). If the field is set to a rejecting state, State Management mandatorily rejects incoming session requests from Update and Configuration Management. Although campaigns are synchronized vehicle-wide, this mechanism ensures that local machine states can prevent an update at any time.

Role and system context of the service interface

The service interface UpdateAllowedService is a service of the AUTOSAR Adaptive Platform within the functional cluster State Management (SM) ([SWS_SM_91025]). The SM cluster provides this service to other processes via a standardized port ([SWS_SM_91024]). In the system architecture, the interface is one of the interaction interfaces for a control application (SMControlApplication), with the aid of which higher-level application logic can interact with the state machines of State Management (EXP SWArchitecture §9.2.2.1.1 “Interfaces for a SMControlApplication”).

The interface primarily serves for a SMControlApplication to interact with the Controller of State Management (SWS StateManagement §9.2.3 “StateMachine UpdateAllowed service”). While the State Management cluster provides the service instance as a provider, the SMControlApplication acts as a service consumer (interpretation: the application acts as a client proxy within the ara::com pattern). Question Q-ba7662e744d9f9f0 (open) The core task of the interface is to inform State Management whether an update session on the machine shall be granted or denied (SWS StateManagement §9.2.3 “StateMachine UpdateAllowed service”).

Methods, events, and fields

The service interface UpdateAllowedService contains no separate methods or events, but bundles its functionality entirely in a field named UpdateAllowed ([SWS_SM_91108]). This field is of data type UpdateAllowedType and has getter, setter, and notifier functionality (HasGetter = true, HasSetter = true, HasNotifier = true) ([SWS_SM_91108]).

Via the setter, the SMControlApplication can actively set the current permission status and transmit it to State Management ([SWS_SM_91108]). The getter enables querying the stored value, while the notifier reports value changes to subscribers in an event-based manner ([SWS_SM_91108]). The concrete content of the field critically determines whether an upcoming update session is permitted or not (SWS StateManagement §9.2.3 “StateMachine UpdateAllowed service”).

Lifecycle, session sequences, and state dependencies

The update permission takes effect in the context of software update campaigns in which the Update and Configuration Management (UCM) requests an update session from State Management via the method RequestUpdateSession (SWS StateManagement §7.x). Although the fundamental feasibility of an update campaign is to be synchronized and checked in advance at the vehicle level, a campaign can encompass multiple machines and take a considerable amount of time (SWS StateManagement §7.x).

Because local conditions on an individual machine can change during this period of time, the explicit invocation of RequestUpdateSession is mandatory (SWS StateManagement §7.x). The SMControlApplication continuously tracks the permission status via the field UpdateAllowed. If the SMControlApplication permits starting the session (interpretation: by setting a corresponding permission value such as kUpdateAllowed), the modeled process of the controller is permitted to accept the update session (SWS StateManagement §7.x). Question Q-3dd3bcc37bf14309 (open)

Sequence of update permission and rejection of an update sessionSMControlApplicationState Management (Controller)Update and Configuration ManagementUpdateAllowed.Set(kUpdateNotAllowed)Response Set (Future)RequestUpdateSession()Check: UpdateAllowed == kUpdateNotAllowedFehler: kOperationRejected

Sequence diagram: Denial of an update session by State Management when the value kUpdateNotAllowed is set. Sources: [SWS_SM_00630], SWS StateManagement §7.x

Error handling and Application Errors

If the SMControlApplication refuses the execution of an update, the modeled process controlling the state machine of type Controller must reject the update request from UCM (SWS StateManagement §7.x). When the field UpdateAllowed is set to the value kUpdateNotAllowed, the modeled process of the Controller state machine must mandatorily return the error kOperationRejected on the method invocation RequestUpdateSession ([SWS_SM_00630]).

Via this specific application error, UCM is signaled that the local machine is currently not ready to enter an update session, thereby avoiding erroneous or safety-critical update states ([SWS_SM_00630]).

This guide summarizes the specification of the service interface UpdateAllowedService of the AUTOSAR Adaptive Platform (Release R25-11) and was editorially AI-curated.

Mitglieder

Member map

Detail view

Select an entry in the outline.

Fields

UpdateAllowed service field

to be set by SMControlApplication to signal if update is allowed or not

UpdateAllowed : UpdateAllowedType // Field (Getter, Setter, Notifier)

Data types

Documentation

service field UpdateAllowed [SWS_SM_91108] Upstream: RS_SM_00001, RS_SM_00004

UpdateAllowed : UpdateAllowedType  // Field (Getter, Setter, Notifier)

to be set by SMControlApplication to signal if update is allowed or not

Scopeservice interface UpdateAllowedService
TypUpdateAllowedType
Version1.0
HasGettertrue
HasSettertrue
HasNotifiertrue

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

Record
AUTOSAR/AP/record/SWS_SM_91108
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_SM_91108@rel:R25-11#1a23550c
Content hash
1a23550c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_StateManagement.pdf#nameddest=SWS_SM_91108
Status: valid/unmigrated Version: rel:R25-11#7265c584 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_91108@rel:R25-11#7265c584
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1a23550c2026-09-30
  • R24-11rel:R24-11#b45b8da72026-10-14
  • R25-11rel:R25-11#7265c5842026-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