diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-29 21:52:34 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-09-29 21:53:27 -0400 |
commit | 68ce7c57c76496efb28c385428b0e2d797d8df74 (patch) | |
tree | 688a88b4f13d1a63ac6d16e80fbaf1c4bd829409 /openxc.proto | |
parent | 1e8b40f719ac43ea53e414e311d9387757630de6 (diff) |
Add a command to enable/disable pre-defined OBD-II requests.
See openxc/vi-firmware#303.
Diffstat (limited to 'openxc.proto')
-rw-r--r-- | openxc.proto | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto index f54c0906..c2b7f7c2 100644 --- a/openxc.proto +++ b/openxc.proto @@ -29,6 +29,7 @@ message ControlCommand { PASSTHROUGH = 4; ACCEPTANCE_FILTER_BYPASS = 5; PAYLOAD_FORMAT = 6; + PREDEFINED_OBD2_REQUESTS = 7; } optional Type type = 1; @@ -36,6 +37,7 @@ message ControlCommand { 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 { @@ -64,6 +66,10 @@ message PayloadFormatCommand { optional PayloadFormat format = 1; } +message PredefinedObd2RequestsCommand { + optional bool enabled = 1; +} + message CommandResponse { optional ControlCommand.Type type = 1; optional string message = 2; |