DEVICE_ID = 2;
DIAGNOSTIC = 3;
PASSTHROUGH = 4;
+ ACCEPTANCE_FILTER_BYPASS = 5;
+ PAYLOAD_FORMAT = 6;
+ PREDEFINED_OBD2_REQUESTS = 7;
}
optional Type type = 1;
optional DiagnosticControlCommand diagnostic_request = 2;
optional PassthroughModeControlCommand passthrough_mode_request = 3;
+ optional AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
+ optional PayloadFormatCommand payload_format_command = 5;
+ optional PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
}
message DiagnosticControlCommand {
}
message PassthroughModeControlCommand {
- enum PassthroughMode {
- OFF = 1;
- FILTERED = 2;
- UNFILTERED = 3;
- }
+ optional int32 bus = 1;
+ optional bool enabled = 2;
+}
+message AcceptanceFilterBypassCommand {
optional int32 bus = 1;
- optional PassthroughMode mode = 2;
+ optional bool bypass = 2;
+}
+
+message PayloadFormatCommand {
+ enum PayloadFormat {
+ JSON = 1;
+ PROTOBUF = 2;
+ }
+
+ optional PayloadFormat format = 1;
+}
+
+message PredefinedObd2RequestsCommand {
+ optional bool enabled = 1;
}
message CommandResponse {