diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c8e680..738a234 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- manipulation SetSystemContextActivationStateAndContextAssociation for combined settings + ## [4.1.0] - 2024-02-22 ### Changed diff --git a/src/t2iapi/combined/combined_requests.proto b/src/t2iapi/combined/combined_requests.proto index 67929a2..834cad3 100644 --- a/src/t2iapi/combined/combined_requests.proto +++ b/src/t2iapi/combined/combined_requests.proto @@ -70,3 +70,14 @@ message SetModeOfOperationAndSetOperatingModeRequest { // shall be set t2iapi.operation.OperatingMode operating_mode = 4; // OperatingMode value to be set for the operation } + +/* +Request to set the @ActivationState of the pm:SystemContextState with the specified HANDLE to the requested value and to +create or adapt a pm:AbstractContextState with the requested @ContextAssociation for the pm:AbstractContextDescriptor with the given HANDLE. +*/ +message SetSystemContextActivationStateAndContextAssociationRequest { + string system_context_handle = 1; // HANDLE of the pm:SystemContextState for which the @ActivationState shall be set + t2iapi.activation_state.ComponentActivation system_context_activation = 2; // the requested pm:ComponentActivation value to set for the system context + string context_descriptor_handle = 3; // HANDLE of the pm:AbstractContextDescriptor for which one of its pm:AbstractContextStates shall be created or adapted with the given @ContextAssociation + t2iapi.context.ContextAssociation context_association = 4; // the @ContextAssociation to be set for the created or adapted pm:AbstractContextState of the requested pm:AbstractContextDescriptor +} diff --git a/src/t2iapi/combined/service.proto b/src/t2iapi/combined/service.proto index cb7c7d7..8b9861d 100644 --- a/src/t2iapi/combined/service.proto +++ b/src/t2iapi/combined/service.proto @@ -62,4 +62,15 @@ service CombinedService { rpc SetModeOfOperationAndSetOperatingMode ( t2iapi.combined.SetModeOfOperationAndSetOperatingModeRequest) returns (BasicResponse); + + /* + Request to set the @ActivationState of the pm:SystemContextState with the specified HANDLE to the requested value and to + create or adapt a pm:AbstractContextState with the requested @ContextAssociation for the pm:AbstractContextDescriptor with the given + HANDLE. + The manipulated states shall be persistent until a next manipulation call or an SDC operation invocation. + If the device is not able to maintain the static states, it shall return RESULT_NOT_SUPPORTED. + */ + rpc SetSystemContextActivationStateAndContextAssociation ( + t2iapi.combined.SetSystemContextActivationStateAndContextAssociationRequest) + returns (BasicResponse); }