summaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-27 18:41:24 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-27 19:18:58 -0400
commit31c5f5de1980a68159b116090cee0072c47365da (patch)
tree42f0db9811e71f87d0ff6702c3baebb2ff2326b7 /openxc.proto
parent397b27846f0ba22d62274dd0780e6870e7a67eed (diff)
Add a control command to control AF bypass status.
See openxc/vi-firmware#301.
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto7
1 files changed, 7 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto
index 1be1df8a..c7f75913 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -27,11 +27,13 @@ message ControlCommand {
DEVICE_ID = 2;
DIAGNOSTIC = 3;
PASSTHROUGH = 4;
+ ACCEPTANCE_FILTER_BYPASS = 5;
}
optional Type type = 1;
optional DiagnosticControlCommand diagnostic_request = 2;
optional PassthroughModeControlCommand passthrough_mode_request = 3;
+ optional AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
}
message DiagnosticControlCommand {
@@ -46,6 +48,11 @@ message PassthroughModeControlCommand {
optional bool enabled = 2;
}
+message AcceptanceFilterBypassCommand {
+ optional int32 bus = 1;
+ optional bool bypass = 2;
+}
+
message CommandResponse {
optional ControlCommand.Type type = 1;
optional string message = 2;