sensor.proto: result for set_sampling_rate() rpc

This commit is contained in:
Michael Sippel 2025-03-19 17:30:38 +01:00
parent 76e3369844
commit 43b5f2ffb6
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -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) {}