summaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 14:43:05 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 14:43:05 -0500
commitad6058e1fcaa780fe2f6537412fd6663df9f5cc6 (patch)
tree890c23b5df569a09d330428782a8e8c7fd17030b /openxc.proto
parent59f06d99530676c638495d9cde0748f7653e33e5 (diff)
Add Diagnostic type within VehicleMessage supertype.
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto3
1 files changed, 2 insertions, 1 deletions
diff --git a/openxc.proto b/openxc.proto
index 1b438539..cc135a6c 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -4,11 +4,12 @@ option java_package = "com.openxc";
option java_outer_classname = "BinaryMessages";
message VehicleMessage {
- enum Type { RAW = 1; TRANSLATED = 2; }
+ enum Type { RAW = 1; TRANSLATED = 2; DIAGNOSTIC = 3; }
optional Type type = 1;
optional RawMessage raw_message = 2;
optional TranslatedMessage translated_message = 3;
+ optional DiagnosticMessage diagnostic_message = 4;
}
message RawMessage {