Commit cb754fd9 authored by Pedro Henrique Kopper's avatar Pedro Henrique Kopper

first protocol version

parent c1a0d32e
syntax = "proto2";
package sadapmap;
/*
* SADAPMAP v0.1
*/
message ChannelReading {
required uint32 id = 1;
required float value = 2;
}
message MultiChannelReading {
repeated ChannelReading channels = 1;
}
message ChannelMetadata {
required uint32 id = 1;
required string name = 2;
required string unit = 3;
required float minimum = 4;
required float maximum = 5;
}
message ReqChannelReading {
required uint32 id = 1;
}
message ReqMultiChannelReading {
repeated uint32 id = 1;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment