diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-03-04 13:35:02 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-03-04 13:35:02 -0500 |
commit | 5347f07163d737f6c6cfde9ad943c110b47e0963 (patch) | |
tree | 2491b8a98560782534ddf50fd0e09cb3d6e3efea /openxc.proto | |
parent | 37d7cb54624eaf3e674b700f706b53782489e764 (diff) |
Move ControlCommand inside VehicleMessage so it can be on same stream.
Diffstat (limited to 'openxc.proto')
-rw-r--r-- | openxc.proto | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |