Add a control command to control AF bypass status.
[apps/agl-service-can-low-level.git] / openxc.proto
index 1be1df8..c7f7591 100644 (file)
@@ -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;