sensor.proto: result for set_sampling_rate() rpc
This commit is contained in:
parent
76e3369844
commit
43b5f2ffb6
1 changed files with 8 additions and 1 deletions
|
@ -35,7 +35,14 @@ message DataChunk {
|
|||
repeated Temperature data = 3;
|
||||
}
|
||||
|
||||
message SetSamplingPeriodResult {}
|
||||
enum SetSamplingPeriodResultEnum {
|
||||
OK = 0;
|
||||
OutOfRange = 1;
|
||||
}
|
||||
|
||||
message SetSamplingPeriodResult {
|
||||
SetSamplingPeriodResultEnum result = 1;
|
||||
}
|
||||
|
||||
service Sensor {
|
||||
rpc get_status (StatusRequest) returns (SensorStatus) {}
|
||||
|
|
Loading…
Add table
Reference in a new issue