aboutsummaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-27 20:40:22 -0400
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-09-27 21:46:02 -0400
commit1e8b40f719ac43ea53e414e311d9387757630de6 (patch)
treee4c633cf954df4dd8158656e5b6d2e143f47cca9 /openxc.proto
parentd383e4cbc0bc89cd3bc3b69b0aa3ffc1862e9607 (diff)
Standardize names for payload format.
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto12
1 files changed, 6 insertions, 6 deletions
diff --git a/openxc.proto b/openxc.proto
index e0264c6b..f54c0906 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -28,14 +28,14 @@ message ControlCommand {
DIAGNOSTIC = 3;
PASSTHROUGH = 4;
ACCEPTANCE_FILTER_BYPASS = 5;
- MESSAGE_FORMAT = 6;
+ PAYLOAD_FORMAT = 6;
}
optional Type type = 1;
optional DiagnosticControlCommand diagnostic_request = 2;
optional PassthroughModeControlCommand passthrough_mode_request = 3;
optional AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4;
- optional MessageFormatCommand message_format_command = 5;
+ optional PayloadFormatCommand payload_format_command = 5;
}
message DiagnosticControlCommand {
@@ -55,13 +55,13 @@ message AcceptanceFilterBypassCommand {
optional bool bypass = 2;
}
-message MessageFormatCommand {
- enum MessageFormat {
+message PayloadFormatCommand {
+ enum PayloadFormat {
JSON = 1;
- BINARY = 2;
+ PROTOBUF = 2;
}
- optional MessageFormat format = 1;
+ optional PayloadFormat format = 1;
}
message CommandResponse {