aboutsummaryrefslogtreecommitdiffstats
path: root/openxc.proto
diff options
context:
space:
mode:
authordsouzahansenfrancis <hdsouza@crosschasm.com>2015-11-19 13:36:52 -0500
committerdsouzahansenfrancis <hdsouza@crosschasm.com>2015-11-19 13:36:52 -0500
commit33fa90a198a01427777a0e600270fa80f5bf7828 (patch)
treee36411670723e42b3367abe25b801ab87a66d4ac /openxc.proto
parent98fa6bf0cd70f8fa200e3a31b28c03a8c587bfea (diff)
Added RTC configuration command
Diffstat (limited to 'openxc.proto')
-rw-r--r--openxc.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto
index 37343629..ec355e9b 100644
--- a/openxc.proto
+++ b/openxc.proto
@@ -37,6 +37,7 @@ message ControlCommand {
PAYLOAD_FORMAT = 6;
PREDEFINED_OBD2_REQUESTS = 7;
MODEM_CONFIGURATION = 8;
+ RTC_CONFIGURATION = 9;
}
optional Type type = 1;
@@ -46,6 +47,7 @@ message ControlCommand {
optional PayloadFormatCommand payload_format_command = 5;
optional PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6;
optional ModemConfigurationCommand modem_configuration_command = 7;
+ optional RTCConfigurationCommand rtc_configuration_command = 8;
}
message DiagnosticControlCommand {
@@ -115,6 +117,10 @@ message ModemConfigurationCommand {
optional ServerConnectSettings serverConnectSettings = 3;
}
+message RTCConfigurationCommand {
+ optional uint32 unix_time = 1;
+}
+
message CommandResponse {
optional ControlCommand.Type type = 1;
optional string message = 2;