This repository has been archived on 2025-06-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
compLIB/server/protos/CompLib.proto
Konstantin Lampalzer 9b567b8c6c Protobuf prototype
2022-03-18 18:11:16 +01:00

36 lines
499 B
Protocol Buffer

syntax = "proto3";
package CompLib;
message Header {
string message_type = 1;
}
message Status {
bool successful = 1;
string error_message = 2;
}
message GenericRequest {
Header header = 1;
}
message GenericResponse {
Header header = 1;
Status status = 2;
}
message ReadSensorsRequest {
Header header = 1;
}
message ReadSensorsResponse {
Header header = 1;
Status status = 2;
uint32 ir_1 = 3;
uint32 ir_2 = 4;
uint32 ir_3 = 5;
uint32 ir_4 = 6;
uint32 ir_5 = 7;
}