Skip to content

Commit

Permalink
value for InvocationEffectiveTimeout is needed to cover different tes…
Browse files Browse the repository at this point in the history
…t scenarios
  • Loading branch information
pstaeck committed Oct 10, 2023
1 parent 009abf1 commit d48a4e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions src/t2iapi/operation/operation_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@ Request to change the devices state, which results in setting the requested Oper
message SetOperatingModeRequest {
string handle = 1;
OperatingMode operating_mode = 2;
}

/*
Request to modify the devices descriptor, which results in setting the requested the @InvocationEffectiveTimeout for
the pm:AbstractOperationDescriptor with the given handle.
*/
message ModifyInvocationEffectiveTimeoutRequest {
string handle = 1;
string invocation_effective_timeout = 2;
}
6 changes: 3 additions & 3 deletions src/t2iapi/operation/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ service OperationService {
returns (BasicResponse);

/*
Modify the @InvocationEffectiveTimeout of the pm:AbstractOperationDescriptor with the given handle.
Modify the pm:AbstractOperationDescriptor with the given handle such that the @InvocationEffectiveTimeout is set to
the requested value.
The manipulated descriptor shall be persistent until a next manipulation call or an SDC operation invocation. If
the device is not able to maintain the static descriptor, it shall return RESULT_NOT_SUPPORTED.
*/
rpc ModifyInvocationEffectiveTimeout (BasicHandleRequest) returns (BasicResponse);

rpc ModifyInvocationEffectiveTimeout (ModifyInvocationEffectiveTimeoutRequest) returns (BasicResponse);
}

0 comments on commit d48a4e0

Please sign in to comment.