blob: 0e39bb6c1c01d65e28168a4bfd8c8afbb6d87e9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package openxc;
message RawMessage {
optional uint32 message_id = 1;
optional double data = 2;
}
message TranslatedStringMessage {
optional string name = 1;
optional string value = 2;
}
message TranslatedNumericMessage {
optional string name = 1;
optional double value = 2;
}
message TranslatedBooleanMessage {
optional string name = 1;
optional bool value = 2;
}
// TODO we should also consider having an enum type, h aving each specific
// message defined as a protobuf
|