安卓系统的GPS搜星配置
关于安卓的系统的搜星配置在中国的GPS,里面的服务器地址已经修改,ping服务器好,APGS也改了
新建成gps.conf复制下面并替换/system/etc下的gps.conf即可,
NTP_SERVER=0.cn.pool.ntp.org
NTP_SERVER=1.cn.pool.ntp.org
NTP_SERVER=2.cn.pool.ntp.org
NTP_SERVER=3.cn.pool.ntp.org
XTRA_SERVER_1=http://xtra2.gpsonextra.com/xtra.bin
XTRA_SERVER_2=http://xtra1.gpsonextra.com/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.com/xtra.bin
# DEBUG LEVELS: 0 – none, 1 – Error, 2 – Warning, 3 – Info
# 4 – Debug, 5 – Verbose
DEBUG_LEVEL =0
# 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
ACCURACY_THRES=0
# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1
# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1
################################
##### AGPS server settings #####
################################
# FOR SUPL SUPPORT, set the following
SUPL_HOST=suplcn.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=7276
SUPL_SECURE_PORT=7276
# FOR C2K PDE SUPPORT, set the following
# C2K_HOST=c2k.pde.com or IP
# C2K_PORT=1234
#################################
##### 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

