diff options
author | mgiannikouris <mgiannikouris@crosschasm.com> | 2014-12-01 23:02:22 -0500 |
---|---|---|
committer | mgiannikouris <mgiannikouris@crosschasm.com> | 2014-12-01 23:02:22 -0500 |
commit | 3bb427338bc52b59921504727e77160b72242f3b (patch) | |
tree | 00139e4cac0766bf641cd4cb964c6a93bcf3d447 /openxc.proto | |
parent | 3a12d5a93e9430d8bd9ddbb214c9f95ff37fa3b6 (diff) |
added uptime field to VehicleMessage
Diffstat (limited to 'openxc.proto')
-rw-r--r-- | openxc.proto | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/openxc.proto b/openxc.proto index 586ead20..bb54c770 100644 --- a/openxc.proto +++ b/openxc.proto @@ -13,6 +13,7 @@ message VehicleMessage { optional DiagnosticResponse diagnostic_response = 4; optional ControlCommand control_command = 5; optional CommandResponse command_response = 6; + optional uint32 uptime = 7; } message CanMessage { @@ -35,6 +36,7 @@ message ControlCommand { ACCEPTANCE_FILTER_BYPASS = 5; PAYLOAD_FORMAT = 6; PREDEFINED_OBD2_REQUESTS = 7; + MODEM_CONFIGURATION = 8; } optional Type type = 1; @@ -43,6 +45,7 @@ message ControlCommand { optional AcceptanceFilterBypassCommand acceptance_filter_bypass_command = 4; optional PayloadFormatCommand payload_format_command = 5; optional PredefinedObd2RequestsCommand predefined_obd2_requests_command = 6; + optional ModemConfigurationCommand modem_configuration_command = 7; } message DiagnosticControlCommand { @@ -75,6 +78,42 @@ message PredefinedObd2RequestsCommand { optional bool enabled = 1; } +message NetworkOperatorSettings { + enum OperatorSelectMode { + AUTOMATIC = 0; + MANUAL = 1; + DEREGISTER = 2; + SET_ONLY = 3; + MANUAL_AUTOMATIC = 4; + } + message NetworkDescriptor { + enum NetworkType { + GSM = 0; + UTRAN = 2; + } + optional uint32 PLMN = 1; + optional NetworkType networkType = 2; + } + optional bool allowDataRoaming = 1; + optional OperatorSelectMode operatorSelectMode = 2; + optional NetworkDescriptor networkDescriptor = 3; +} + +message NetworkDataSettings { + optional string APN = 1; +} + +message ServerConnectSettings { + optional string host = 1; + optional uint32 port = 2; +} + +message ModemConfigurationCommand { + optional NetworkOperatorSettings networkOperatorSettings = 1; + optional NetworkDataSettings networkDataSettings = 2; + optional ServerConnectSettings serverConnectSettings = 3; +} + message CommandResponse { optional ControlCommand.Type type = 1; optional string message = 2; |