aboutsummaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 14:31:39 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-17 14:31:39 -0500
commit59f06d99530676c638495d9cde0748f7653e33e5 (patch)
tree188aec6639890a17d1f385e18f11fec9d89c450f /openxc.proto
parent40127285861b290ad596bf713cf6d21e7f2072c1 (diff)
Store diagnostic response payload as a byte array in protobuf.
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/openxc.proto b/openxc.proto
index 72cd33f6..1b438539 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -24,7 +24,9 @@ message DiagnosticMessage {
optional uint32 pid = 4;
optional bool success = 5;
optional uint32 negative_response_code = 6;
- optional uint64 payload = 7;
+ // TODO we are capping this at 8 bytes for now - need to change when we
+ // support multi-frame responses
+ optional bytes payload = 7;
}
message TranslatedMessage {