[custom-conf] -> in-deep-gps.conf <-
HI TO ALL !!!
putting togheter some material available on the net plus some from my mind, I'm posting below the "code" for a self-explaining content of a gps.conf file with the possibility to fully customize every parameter/feature that the agps standard offers.
to use that --> copy the content into a blank text file, save it, and then rename it "gps.conf" (without quotes). Backup your original gps.gonf in /etc folder if you want, then put the fresh gps.conf there (/etc folder). To modify it, just edit it as you want using a text editor (es. from within root explorer app). Reboot.
Try differen't configz till reach the best fit for your personal needs.
(: (: (:
Code:
# WELCOME ALL!!!
# enable-disable any parameter/feature by adding or removing (#) symbol
# change values as you want
# connect to http://www.pool.ntp.org to find out the ntp server nearest to you
# change following NTP_SERVER to nearest address (country or zone)
NTP_SERVER=0.europe.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL = 3
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
# use only increment/decrement of 10 and DON'T go below 30
ACCURACY_THRES=5000
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
#SUPL_HOST=supl.sonyericsson.com
#SUPL_PORT=7275
SUPL_HOST=supl.google.com
SUPL_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
################################
# EXTRA SETTINGS ###############
################################
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=0
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=0
#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE
# TRUE for "User Plane", FALSE for "Control Plane"
DEFAULT_USER_PLANE=TRUE
Hoping the above "code" could help someone somewhere !!!
best regards,
respect!
|