View Single Post
  #2783 (permalink)  
Old 06-11-2010, 11:51 AM
sfhub's Avatar
sfhub
PPCGeeks Regular
Offline
 
Join Date: Jul 2008
Posts: 164
Reputation: 285
sfhub is becoming a PPCGeeks regularsfhub is becoming a PPCGeeks regularsfhub is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Linux/Android on CDMA Touch Pro -- Now working on Verizon! And with GPS!

Anybody experiment with the SUPL AGPS server settings?

I changed it to the one Sprint phones usually use and now I sometimes get 8 second GPS locks. Mostly 10-30 seconds. However sometimes it will be 30-90 seconds. With the default settings it always seemed like it took a long time to get lock, probably 60+ seconds, but I didn't try to isolate why. It might have been as simple as needing a data connection open first before starting GPS. I recall there might have been a bug in the callback where the Qualcomm stuff asks for the data connection to be opened.

The setting is in

/system/etc/gps.conf

and it gets copied into

/data/etc/gps.conf

at boot time, so you only need to change it once at the source (and reboot)

This is what I changed

SUPL_HOST=68.28.31.49
SUPL_PORT=4503

This is what Sprint phones usually have it set to (including Touch Pro stock WM ROM) I wouldn't experiment using these settings if you are on a different carrier.

Verizon probably has their on SUPL server settings which you could look up if you were interested.

EDIT:
There is a list of other SUPL AGPS server settings here:
http://forum.ppcgeeks.com/showpost.p...11&postcount=2
This from this 88fingerslukee post
http://forum.ppcgeeks.com/showthread...06#post1811306

Last edited by sfhub; 06-13-2010 at 02:45 AM.
Reply With Quote
This post has been thanked 2 times.