aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-25 01:09:44 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-25 01:09:44 +0200
commitd8bf8c447f6734f0f87c8f80b1095cb0ae5ef737 (patch)
tree29ce3a2f279b27112b513dc79734839942d44875 /res
parent1daa236fdc00d781b700988c73813c980b270dde (diff)
downloadBlueGPS-d8bf8c447f6734f0f87c8f80b1095cb0ae5ef737.zip
BlueGPS-d8bf8c447f6734f0f87c8f80b1095cb0ae5ef737.tar.gz
BlueGPS-d8bf8c447f6734f0f87c8f80b1095cb0ae5ef737.tar.bz2
add new SiIRF configuration options
Diffstat (limited to 'res')
-rw-r--r--res/values-fr/strings.xml30
-rw-r--r--res/values/strings.xml23
-rw-r--r--res/xml/pref.xml39
3 files changed, 79 insertions, 13 deletions
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index e80bca0..d679378 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -22,7 +22,7 @@
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Le GPS Bluetooth est arrêté</string>
<string name="pref_start_gps_summary_on">Le GPS Bluetooth est démarré</string>
- <string name="pref_start_gps_params_title">Options du GPS</string>
+ <string name="pref_start_gps_params_title">Options du GPS (SiRF)</string>
<string name="pref_gps_location_provider_title">Location provider options</string>
<string name="pref_gps_location_provider_summary">Le GPS Bluetooth remplacera le GPS interne</string>
<string name="pref_replace_std_gps_title">Remplacer le GPS interne</string>
@@ -45,6 +45,34 @@
<string name="pref_bluetooth_device_title">Sélection du GPS</string>
<string name="pref_bluetooth_device_summary">"Périphérique actuel : %s"</string>
+ <string name="pref_sirf_gps_title">GPS SiRF</string>
+ <string name="pref_sirf_gps_summary_off">"Ne pas utiliser les paramètres SiRF"</string>
+ <string name="pref_sirf_gps_summary_on">"Utiliser les paramètres SiRF"</string>
+ <string name="pref_enable_gll_title">Activation NMEA GLL</string>
+ <string name="pref_enable_gll_summary_off">NMEA GLL désactivé</string>
+ <string name="pref_enable_gll_summary_on">NMEA GLL activé</string>
+ <string name="pref_enable_vtg_title">Activation NMEA VTG</string>
+ <string name="pref_enable_vtg_summary_off">NMEA VTG désactivé</string>
+ <string name="pref_enable_vtg_summary_on">NMEA VTG activé</string>
+ <string name="pref_enable_gsa_title">Activation NMEA GSA</string>
+ <string name="pref_enable_gsa_summary_off">NMEA GSA désactivé</string>
+ <string name="pref_enable_gsa_summary_on">NMEA GSA activé</string>
+ <string name="pref_enable_gsv_title">Activation NMEA GSV</string>
+ <string name="pref_enable_gsv_summary_off">NMEA GSV désactivé</string>
+ <string name="pref_enable_gsv_summary_on">NMEA GSV activé</string>
+ <string name="pref_enable_zda_title">Activation NMEA ZDA</string>
+ <string name="pref_enable_zda_summary_off">NMEA ZDA désactivé</string>
+ <string name="pref_enable_zda_summary_on">NMEA ZDA activé</string>
+ <string name="pref_enable_sbas_title">SBAS (WAAS/EGNOS)</string>
+ <string name="pref_enable_sbas_summary_off">SBAS désactivé</string>
+ <string name="pref_enable_sbas_summary_on">SBAS activé</string>
+ <string name="pref_enable_nmea_title">Mode NMEA/SiRF</string>
+ <string name="pref_enable_nmea_summary_off">Mode SiRF binaire activé</string>
+ <string name="pref_enable_nmea_summary_on">Mode NMEA activé</string>
+ <string name="pref_enable_static_navigation_title">Navigation Statique</string>
+ <string name="pref_enable_static_navigation_summary_off">Navigation Statique désactivée</string>
+ <string name="pref_enable_static_navigation_summary_on">Navigation Statique activée</string>
+
<string name="msg_gps_provider_started">GPS Bluetooth... démarré</string>
<string name="msg_gps_provider_stopped">GPS Bluetooth... arrêté</string>
<string name="msg_gps_provider_already_started">GPS Bluetooth... déjà démarré</string>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c049a20..50d5994 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -36,8 +36,8 @@
<string name="sirf_nmea_to_binary">PSRF100,0,38400,8,1,0</string>
- <string name="sirf_nmea_waas_on">PSRF151,01</string>
- <string name="sirf_nmea_waas_off">PSRF151,00</string>
+ <string name="sirf_nmea_sbas_on">PSRF151,01</string>
+ <string name="sirf_nmea_sbas_off">PSRF151,00</string>
<!--
<string name="sirf_sbas_on">$PSRF151,01*0F</string>
@@ -47,8 +47,11 @@
<string name="sirf_bin_static_nav_off">8F00</string>
<string name="sirf_bin_to_nmea">8702</string>
<string name="sirf_bin_to_nmea_38400">810201010001050105010001000100010001000100019600</string>
+ <string name="sirf_bin_to_nmea_38400_alt">8102%02X01%02X01%02X01%02X01%02X01%02X01%02X01%02X01%02X0100019600</string>
<string name="sirf_bin_dgps_ext_on">85020000000000</string>
<string name="sirf_bin_dgps_sbas_on">85010000000000</string>
+ <string name="sirf_software_version">8400</string>
+
<!--
<string name="sirf_bin_to_nmea4800_1">A0A20018 8102010100010501050100010001000100010001000112C0 016AB0B3</string>
@@ -68,6 +71,7 @@
<string name="pref_trackfile_prefix_key">trackFilePrefix</string>
<string name="pref_bluetooth_device_key">bluetoothDevice</string>
+ <string name="pref_sirf_gps_key">sirfGps</string>
<string name="pref_sirf_enable_gll_key">enableGLL</string>
<string name="pref_sirf_enable_vtg_key">enableVTG</string>
<string name="pref_sirf_enable_gsa_key">enableGSA</string>
@@ -75,6 +79,7 @@
<string name="pref_sirf_enable_zda_key">enableZDA</string>
<string name="pref_sirf_enable_sbas_key">enableSBAS</string>
<string name="pref_sirf_enable_nmea_key">enableNMEA</string>
+ <string name="pref_sirf_enable_static_navigation_key">enableStaticNavigation</string>
<string name="defaultTrackMinDistance">0.0</string>
<string name="defaultTrackMinTime">0</string>
@@ -85,7 +90,7 @@
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Bluetooth GPS is off</string>
<string name="pref_start_gps_summary_on">Bluetooth GPS is on</string>
- <string name="pref_start_gps_params_title">SiRF GPS Options</string>
+ <string name="pref_start_gps_params_title">GPS Options (SiRF)</string>
<string name="pref_gps_location_provider_title">Location provider options</string>
<string name="pref_gps_location_provider_summary">Bluetooth GPS will replace internal GPS</string>
<string name="pref_replace_std_gps_title">Replace internal GPS</string>
@@ -111,6 +116,9 @@
<string name="pref_bluetooth_device_title">Choose Bluetooth GPS</string>
<string name="pref_bluetooth_device_summary">"Current device: %s"</string>
+ <string name="pref_sirf_gps_title">SiRF GPS</string>
+ <string name="pref_sirf_gps_summary_off">"Use SiRF Options"</string>
+ <string name="pref_sirf_gps_summary_on">"Don't SiRF Options"</string>
<string name="pref_enable_gll_title">Enable NMEA GLL</string>
<string name="pref_enable_gll_summary_off">NMEA GLL sentences are off</string>
<string name="pref_enable_gll_summary_on">NMEA GLL sentences are on</string>
@@ -126,10 +134,15 @@
<string name="pref_enable_zda_title">Enable NMEA ZDA</string>
<string name="pref_enable_zda_summary_off">NMEA ZDA sentences are off</string>
<string name="pref_enable_zda_summary_on">NMEA ZDA sentences are on</string>
- <string name="pref_enable_sbas_title">Enable SBAS (WAAS/EGNOS)</string>
+ <string name="pref_enable_sbas_title">SBAS (WAAS/EGNOS)</string>
<string name="pref_enable_sbas_summary_off">SBAS is off</string>
<string name="pref_enable_sbas_summary_on">SBAS is on</string>
-
+ <string name="pref_enable_nmea_title">NMEA/Binary mode</string>
+ <string name="pref_enable_nmea_summary_off">Binary mode is on</string>
+ <string name="pref_enable_nmea_summary_on">NMEA mode is on</string>
+ <string name="pref_enable_static_navigation_title">Static Navigation</string>
+ <string name="pref_enable_static_navigation_summary_off">Static Navigation disabled</string>
+ <string name="pref_enable_static_navigation_summary_on">Static Navigation enabled</string>
<string name="msg_gps_provider_started">Bluetooth GPS... started</string>
<string name="msg_gps_provider_stopped">Bluetooth GPS... stopped</string>
diff --git a/res/xml/pref.xml b/res/xml/pref.xml
index d54c3ff..0faee9f 100644
--- a/res/xml/pref.xml
+++ b/res/xml/pref.xml
@@ -54,45 +54,70 @@
android:defaultValue="@string/defaultMockGpsName"
android:summary="@string/pref_mock_gps_name_summary" />
</PreferenceScreen>
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_gps_key"
+ android:persistent="true"
+ android:defaultValue="false"
+ android:disableDependentsState="false"
+ android:title="@string/pref_sirf_gps_title"
+ android:summaryOn="@string/pref_sirf_gps_summary_on"
+ android:summaryOff="@string/pref_sirf_gps_summary_off" />
<PreferenceScreen
android:title="@string/pref_start_gps_params_title"
- android:shouldDisableView = "true"
- android:enabled="true" >
+ android:dependency="@string/pref_sirf_gps_key"
+ android:shouldDisableView = "true" >
<CheckBoxPreference
android:key="@string/pref_sirf_enable_gsa_key"
android:persistent="true"
- android:disableDependentsState="true"
android:title="@string/pref_enable_gsa_title"
android:summaryOn="@string/pref_enable_gsa_summary_on"
android:summaryOff="@string/pref_enable_gsa_summary_off" />
<CheckBoxPreference
android:key="@string/pref_sirf_enable_gsv_key"
android:persistent="true"
- android:disableDependentsState="true"
android:title="@string/pref_enable_gsv_title"
android:summaryOn="@string/pref_enable_gsv_summary_on"
android:summaryOff="@string/pref_enable_gsv_summary_off" />
<CheckBoxPreference
android:key="@string/pref_sirf_enable_vtg_key"
android:persistent="true"
- android:disableDependentsState="true"
android:title="@string/pref_enable_vtg_title"
android:summaryOn="@string/pref_enable_vtg_summary_on"
android:summaryOff="@string/pref_enable_vtg_summary_off" />
<CheckBoxPreference
android:key="@string/pref_sirf_enable_gll_key"
android:persistent="true"
- android:disableDependentsState="true"
android:title="@string/pref_enable_gll_title"
android:summaryOn="@string/pref_enable_gll_summary_on"
android:summaryOff="@string/pref_enable_gll_summary_off" />
<CheckBoxPreference
android:key="@string/pref_sirf_enable_zda_key"
android:persistent="true"
- android:disableDependentsState="true"
android:title="@string/pref_enable_zda_title"
android:summaryOn="@string/pref_enable_zda_summary_on"
android:summaryOff="@string/pref_enable_zda_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_sbas_key"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_sbas_title"
+ android:summaryOn="@string/pref_enable_sbas_summary_on"
+ android:summaryOff="@string/pref_enable_sbas_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_nmea_key"
+ android:enabled="false"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_nmea_title"
+ android:summaryOn="@string/pref_enable_nmea_summary_on"
+ android:summaryOff="@string/pref_enable_nmea_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_static_navigation_key"
+ android:persistent="true"
+ android:defaultValue="false"
+ android:title="@string/pref_enable_static_navigation_title"
+ android:summaryOn="@string/pref_enable_static_navigation_summary_on"
+ android:summaryOff="@string/pref_enable_static_navigation_summary_off" />
</PreferenceScreen>
<CheckBoxPreference
android:enabled="true"