-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from openxc/limit-1-vi
Only allow at most 1 vehicle interface to be active via the Enabler.
- Loading branch information
Showing
14 changed files
with
291 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="vehicle_interface_key">vehicle_interface</string> | ||
<string name="vehicle_interface_title">Vehicle Interface</string> | ||
|
||
<string name="bluetooth_interface_option">Bluetooth</string> | ||
<string name="bluetooth_interface_option_value">bluetooth</string> | ||
<string name="usb_interface_option">USB</string> | ||
<string name="usb_interface_option_value">usb</string> | ||
<string name="network_interface_option">Network</string> | ||
<string name="network_interface_option_value">network</string> | ||
<string name="trace_interface_option">Pre-recorded Trace</string> | ||
<string name="trace_interface_option_value">trace</string> | ||
<string name="disabled_interface_option">None</string> | ||
<string name="disabled_interface_option_value">none</string> | ||
|
||
<string-array name="vehicle_interface_types"> | ||
<item>@string/bluetooth_interface_option</item> | ||
<item>@string/usb_interface_option</item> | ||
<item>@string/network_interface_option</item> | ||
<item>@string/trace_interface_option</item> | ||
<item>@string/disabled_interface_option</item> | ||
</string-array> | ||
|
||
<string-array name="vehicle_interface_type_aliases"> | ||
<item>@string/bluetooth_interface_option_value</item> | ||
<item>@string/usb_interface_option_value</item> | ||
<item>@string/network_interface_option_value</item> | ||
<item>@string/trace_interface_option_value</item> | ||
<item>@string/disabled_interface_option_value</item> | ||
</string-array> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.