summaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-10-06 21:30:28 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-10-06 21:30:39 -0400
commitf340bc6909f84a83dbb8a4d7ca3ba1002b31b110 (patch)
treeb4530764ad5e5b56eabf0e707b3a5ea84ff065e2 /openxc.proto
parentab2066f086fa6cec7a29c019f51933023d4d5419 (diff)
Add a field to CAN messages to explicitly set the frame format.
See openxc/vi-firmware:230.
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto
index c2b7f7c2..3b23be5c 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -16,9 +16,14 @@ message VehicleMessage {
}
message RawMessage {
+ enum FrameFormat {
+ STANDARD = 1;
+ EXTENDED = 2;
+ }
optional int32 bus = 1;
optional uint32 message_id = 2;
optional bytes data = 3;
+ optional FrameFormat format = 4;
}
message ControlCommand {