diff options
author | Eric <emarsman@users.noreply.github.com> | 2015-09-15 10:06:34 -0400 |
---|---|---|
committer | Eric <emarsman@users.noreply.github.com> | 2015-09-15 10:06:34 -0400 |
commit | efdc0eb905b57a691badc6e87d9785ee83ce311e (patch) | |
tree | 3cf41917fdb6de4e5c3f6198745ccf3336c949a9 /openxc.proto | |
parent | be2e20347d928b92b1fdfe674d5d5c31bf60fbfd (diff) | |
parent | 85208d33213e1932f3ae160310f751f1e5c064f6 (diff) |
Merge pull request #23 from mgiannikouris/crosschasm-c5
added uptime field to VehicleMessage - new support for CrossChasm C5 BT & Cell devices
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; |