From 9172f536cd4f059fc2e33eb66cab9f0833876d71 Mon Sep 17 00:00:00 2001 From: Rox- Date: Sat, 24 Jan 2015 15:49:19 +0100 Subject: [PATCH] gps: Improve GPS support --- gps/gps.conf | 8 +++++--- gps/sap.conf | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/gps/gps.conf b/gps/gps.conf index b5eeae7..88e6dc1 100644 --- a/gps/gps.conf +++ b/gps/gps.conf @@ -21,13 +21,13 @@ NTP_SERVER=time.gpsonextra.net # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info # 4 - Debug, 5 - Verbose # If DEBUG_LEVEL is commented, Android's logging levels will be used -DEBUG_LEVEL = 4 +DEBUG_LEVEL = 1 # Intermediate position report, 1=enable, 0=disable INTERMEDIATE_POS=0 -# supl version 1.0 -SUPL_VER=0x10000 +# supl version 2.0 +SUPL_VER=0x20000 # Emergency SUPL, 1=enable, 0=disable SUPL_ES=1 @@ -52,6 +52,8 @@ CAPABILITIES=0x37 # FOR SUPL SUPPORT, set the following # SUPL_HOST=supl.host.com or IP # SUPL_PORT=1234 +SUPL_HOST=supl.google.com +SUPL_PORT=7276 # FOR C2K PDE SUPPORT, set the following # C2K_HOST=c2k.pde.com or IP diff --git a/gps/sap.conf b/gps/sap.conf index 22b62ff..1159613 100644 --- a/gps/sap.conf +++ b/gps/sap.conf @@ -13,9 +13,9 @@ # Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0) # used in loc_eng_reinit -SENSOR_ACCEL_BATCHES_PER_SEC=2 +SENSOR_ACCEL_BATCHES_PER_SEC=3 SENSOR_ACCEL_SAMPLES_PER_BATCH=5 -SENSOR_GYRO_BATCHES_PER_SEC=2 +SENSOR_GYRO_BATCHES_PER_SEC=3 SENSOR_GYRO_SAMPLES_PER_BATCH=5 # Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0) SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4