summaryrefslogtreecommitdiffstats
path: root/benchmark/proto/openxc.proto
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/proto/openxc.proto')
-rw-r--r--benchmark/proto/openxc.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmark/proto/openxc.proto b/benchmark/proto/openxc.proto
new file mode 100644
index 00000000..0af663c8
--- /dev/null
+++ b/benchmark/proto/openxc.proto
@@ -0,0 +1,21 @@
+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;
+}