From 5347f07163d737f6c6cfde9ad943c110b47e0963 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Tue, 4 Mar 2014 13:35:02 -0500 Subject: Move ControlCommand inside VehicleMessage so it can be on same stream. --- openxc.proto | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openxc.proto') diff --git a/openxc.proto b/openxc.proto index 259bdfb4..c6177de0 100644 --- a/openxc.proto +++ b/openxc.proto @@ -4,12 +4,13 @@ option java_package = "com.openxc"; option java_outer_classname = "BinaryMessages"; message VehicleMessage { - enum Type { RAW = 1; TRANSLATED = 2; DIAGNOSTIC = 3; } + enum Type { RAW = 1; TRANSLATED = 2; DIAGNOSTIC = 3; CONTROL_COMMAND = 4; } optional Type type = 1; optional RawMessage raw_message = 2; optional TranslatedMessage translated_message = 3; optional DiagnosticResponse diagnostic_response = 4; + optional ControlCommand control_command = 5; } message RawMessage { -- cgit 1.2.3-korg