Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new manipulations to indicate and end membership in an ensemble #96

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- manipulation PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided
- manipulation PhysicallyDisconnectRemovableSubsystemAfterPhysicalConnectorProvided for combined settings
- manipulation SetActiveModeOfOperation for metrics
- manipulation PhysicallyDisconnectRemovableSubsystemAfterSettingActivationStateOnOrStndBy
- manipulation PhysicallyDisconnectRemovableSubsystemAfterSettingActivationStateOnOrStndBy for combined settings
pstaeck marked this conversation as resolved.
Show resolved Hide resolved
- manipulation RequestIndicationOfNextCalibrationTimeRequired for devices
- manipulation IndicateTimeOfNextCalibrationToUser for devices
- manipulation GetComponentHwVersion for devices
Expand All @@ -23,6 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- manipulation SetMdsUiLanguage for devices
- manipulation GetMdsUiSupportedLanguages for devices
- manipulation InsertContainmentTreeEntryForSequenceId for devices
- manipulation IndicateMembershipInEachPossibleEnsemble for contexts
- manipulation EndMembershipInEnsemble for contexts

## [4.1.0] - 2024-02-22

Expand Down
10 changes: 10 additions & 0 deletions src/t2iapi/context/context_responses.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ message EnsembleContextIndicateMembershipWithIdentificationResponse {
BasicResponse status = 1;
repeated IdentificationList identification_list = 3;
}

/*
Response which contains a list of @Handles of pm:EnsembleContextStates. The corresponding states form a representative
set of pm:EnsembleContextStates which if associated are sufficient to indicate membership in each possible SDC
PARTICIPANT ENSEMBLE for a given pm:EnsembleContextDescriptor.
*/
message IndicateMembershipInEachPossibleEnsembleResponse {
BasicResponse status = 1;
repeated string context_state_handle_list = 2;
}
24 changes: 24 additions & 0 deletions src/t2iapi/context/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,30 @@ service ContextService {
rpc EnsembleContextIndicateMembershipWithIdentification (BasicHandleRequest)
returns (EnsembleContextIndicateMembershipWithIdentificationResponse);

/*
Indicate membership in each possible SDC PARTICIPANT ENSEMBLE for a provided pm:EnsembleContextDescriptor by
associating each state contained in a representative set of pm:EnsembleContextStates of that descriptor. Return the
list of handles of states contained in that representative set.

The representative set of pm:EnsembleContextStates for a given pm:EnsembleContextDescriptor is a set of
pm:EnsembleContextStates which if associated are sufficient to indicate membership in each possible SDC PARTICIPANT
ENSEMBLE for that descriptor.

ben-Draeger marked this conversation as resolved.
Show resolved Hide resolved
The state shall be persistent until a next manipulation call. If the device is not able to maintain the static state,
it shall return RESULT_NOT_SUPPORTED.
*/
rpc IndicateMembershipInEachPossibleEnsemble (BasicHandleRequest)
returns (IndicateMembershipInEachPossibleEnsembleResponse);

/*
End membership in an SDC PARTICIPANT ENSEMBLE for a provided pm:EnsembleContextState/@Handle.

The state shall be persistent until a next manipulation call. If the device is not able to maintain the static state,
it shall return RESULT_NOT_SUPPORTED.
*/
rpc EndMembershipInEnsemble (ContextStateHandleRequest)
returns (BasicResponse);

/*
Returns all types of contexts which are supported by the DUT.
*/
Expand Down
Loading