Skip to content

Commit

Permalink
add manipulation to get the component sw version
Browse files Browse the repository at this point in the history
  • Loading branch information
jannast committed Jun 27, 2024
1 parent 8192aaa commit e18210c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- manipulation GetComponentSwVersion for devices
- manipulation ProvideInformationAboutLastCalibration for devices
- manipulation ProvideInformationAboutNextCalibration for devices
- manipulation SetSystemContextActivationStateAndContextAssociation for combined settings
Expand Down
17 changes: 13 additions & 4 deletions src/t2iapi/device/device_responses.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,23 @@ option java_outer_classname = "DeviceResponses";
Response which contains all descriptor handles that can be removed and reinserted into the MDIB of the device.
*/
message GetRemovableDescriptorsResponse {
BasicResponse status = 1;
repeated string handle = 2; // list of descriptor handles which can be removed and inserted
BasicResponse status = 1;
repeated string handle = 2; // list of descriptor handles which can be removed and inserted
}

/*
Response containing the handle of the newly created mds descriptor.
*/
message InsertMdsDescriptorResponse {
BasicResponse status = 1;
string handle = 2; // handle of the mds descriptor, that was created
BasicResponse status = 1;
string handle = 2; // handle of the mds descriptor, that was created


/*
Response containing the software version of the requested pm:AbstractDeviceComponentDescriptor handle when supported.
*/
message GetComponentSwVersionResponse {
BasicResponse status = 1; // status of the rpc
string software_version = 2; // Software version of the requested device component
}
}
7 changes: 7 additions & 0 deletions src/t2iapi/device/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,11 @@ service DeviceService {
*/
rpc ProvideInformationAboutNextCalibration (t2iapi.device.ProvideInformationAboutNextCalibrationRequest)
returns (BasicResponse);

/*
Get the software version of the requested pm:AbstractDeviceComponentDescriptor handle if it is representing
a component with a software version.
*/
rpc GetComponentSwVersion (BasicHandleRequest)
returns (t2iapi.device.GetComponentSwVersionResponse);
}

0 comments on commit e18210c

Please sign in to comment.