diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-17 14:12:42 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-17 14:12:42 -0500 |
commit | 40127285861b290ad596bf713cf6d21e7f2072c1 (patch) | |
tree | 5e659536fb53a344224a6101ad43baddd36bbeb0 /openxc.proto | |
parent | 6345fed4216116eb47bd4eda52a4256e71aa7669 (diff) |
Add a protobuf type for diagnostic message responses.
Diffstat (limited to 'openxc.proto')
-rw-r--r-- | openxc.proto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto index 6b79c36f..72cd33f6 100644 --- a/openxc.proto +++ b/openxc.proto @@ -17,6 +17,16 @@ message RawMessage { optional uint64 data = 3; } +message DiagnosticMessage { + optional int32 bus = 1; + optional uint32 message_id = 2; + optional uint32 mode = 3; + optional uint32 pid = 4; + optional bool success = 5; + optional uint32 negative_response_code = 6; + optional uint64 payload = 7; +} + message TranslatedMessage { enum Type { STRING = 1; NUM = 2; BOOL = 3; EVENTED_STRING = 4; EVENTED_NUM = 5; EVENTED_BOOL = 6;} |