diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-08-04 22:04:57 -0400 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-08-04 23:16:02 -0400 |
commit | aa4a2cd92afecf5ce6e3faba441d3b8758b5c372 (patch) | |
tree | 70fbde118b4abb5d589a934f68610471713f6780 /gen/cpp/openxc.pb | |
parent | 570048644e960862858dfd984c34f55f6b63144f (diff) |
Require an 'action' in diagnostic requests.
It wasn't very clean to try and infer a delete/create/update based on
the value of the frequency field - this will require a little more code,
but as they say in Python, explicit is better than implicit.
Fixed https://github.com/openxc/openxc-message-format/issues/12
Diffstat (limited to 'gen/cpp/openxc.pb')
-rw-r--r-- | gen/cpp/openxc.pb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gen/cpp/openxc.pb b/gen/cpp/openxc.pb index da312337..282e5818 100644 --- a/gen/cpp/openxc.pb +++ b/gen/cpp/openxc.pb @@ -1,5 +1,5 @@ -Ã +£
openxc.protoopenxc"” VehicleMessage) type (2.openxc.VehicleMessage.Type' @@ -32,7 +32,7 @@ message_id (
DIAGNOSTIC"M CommandResponse) type (2.openxc.ControlCommand.Type -message ( "ý +message ( "Ý DiagnosticRequest bus ( @@ -43,10 +43,19 @@ message_id (
multiple_responses ( frequency ( name ( ; -decoded_type (2%.openxc.DiagnosticRequest.DecodedType"! +decoded_type (2%.openxc.DiagnosticRequest.DecodedType0 +action + (2 .openxc.DiagnosticRequest.Action"! DecodedType NONE -OBD2"¡ +OBD2", +Action + +CREATE + +UPDATE + +DELETE"¡ DiagnosticResponse bus ( |