[Q] Recommend a device for GPS tracking experiment - General Questions and Answers

I am looking for recommendations on which device I should purchase for a GPS tracking experiment. I'd like to equip objects with a device (phone/PDA/etc) and while inside a non-Internet-connected WiFi network have the device feed the GPS coordinates back to a SQL server.
The device(s) must have WiFi and GPS (not AGPS). Unlocked / Unlockable and the GPS must still function with No Contract / No Service (cellular carrier). I'd like it to be an Android device if possible. 8 hours of in-use battery life would be great, but if need be, I can run an external battery pack. As cheap as possible, too.
What suggestions do you have? Thank you for your time and effort.

Related

[AGPS] The Universal AGPS Project - Let's get it working!

Okay, so here's the deal. If we get AGPS working in some way, we can get MUCH quicker GPS fixes (30 seconds or less). I'm the coder for GPSToolPro you can find here in the Software subforum of the Raphael forum. I'm hoping to incorporate this into the program in some way.
I've managed to obtain the Lat/Long coordinates using Cell Tower information and Google.
There are two ways to solve this issue.
#1
Now, I'm looking to use these Registry Keys
HKLM\Software\HTC\SUPL AGPS\ServerIP
HKLM\Software\HTC\SUPL AGPS\ServerPort
HKLM\Software\HTC\SUPL AGPS\GPSMode
The plan is to set the ServerIP to 127.0.0.1 and run any port. Then the GPSToolPro will listen in on the port number on the device and RESPOND with the Lat/Long information obtained from Google. Right now, what I need is, somebody who has AGPS working with their provider to try to packet sniff and get see how we can make our own AGPS server run on the device. GPSMode mode will be set to "1", not "2". This is specific to the QualComm's GpsOne unit. The values are the following:
0 - Standalone - Your handset has no connection to the network, and uses only the GPS satellite signals it can currently receive to try and establish a location.
1 - MS Based - Your handset is connected to the network, and uses the GPS signals + a location signal from the network.
2 - MS Assisted - Your handset is connected to the network, uses GPS signals + a location signal then relays its 'fix' to the server, which then uses the signal strength from your phone to the network towers to further plot your position. You can still maintain voice communication in this scenario, but not 'Internet/Network service' ie Web Browser, IM, streaming TV etc..
4 - MS Assisted/Hybrid - Same as above, but network functionality remains. Normally only in areas with exceptional coverage.
Click to expand...
Click to collapse
I haven't been able to find the signal strength of the tower I'm connected to yet so right now, I'm limited to mode 1. Also, I can only find information on the tower I'm currently connected to, not all of them so I can't try cell tower triangulation yet.
This solution is limited to only working with HTC GpsOne devices.
#2
We can also try using the IOCTL_GPS_WRITE_ASSISTED command. This command will directly send the AGPS info to the GPS device. The question is, how do we send this information? I believe we need to get a AGPS signal first, use IOCTL_GPS_READ_ASSISTED, parse that information, figure out the format, get Lat/Long from Google, format it in the same way as received from IOCTL_GPS_READ_ASSISTED and send it back with IOCTL_GPS_WRITE_ASSISTED.
This universal for all Windows Mobile phones.
For method #1, I need somebody who has an HTC device with a working AGPS signal (from their provider or whomever).
For method #2, I need any Windows Mobile device that has a working AGPS signal.
I say method #1 requires HTC device because supposedly AGPS isn't standardized and one manufacturer's AGPS format may differ from another.
Hopefully, with the your help, we can get this working.
let's support CLShortFuse iniciative, it would be incredible if we would get AGPS working.
My AGPS (Spain-Orange) doesn't work at all. And i don't know anybody that has a working AGPS device/operator combination.
I've read around XDA that some people in the Raphael CDMA section have AGPS working, maybe we could post there to see if somebody replies and can collaborate with this project.
I was just about to post something similar. Only I wasn't as prepared with as much information. I was going to try to start a thread to consolidate the AGPS server settings for each additional carrier since I'm with T-Mobile and using an AT&T Fuze. My AGPS is not working at all. It keeps trying to connect to AT&T's Media Net and naturally, it fails.
Would it be possible to maybe create some kind of way to trick the devices into thinking that they are AT&T Fuze's and connect to the Media Net to connect to AT&T's AGPS Servers?
I Personally support this project 100%!!
Side note - Has anyone gotten AGPS working on USA T-Mobile at all? I attached a screenshot of the result of what happens when I try to use AGPS on my Fuze.
dharvey4651:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
You need to change those to whatever your network is called on t-mobile
I dont know much about any of this, I have an AT&T Fuze with AT&T service, I also have the AT&T Navigator Software and an account with it, so, is there anything I can do to help? how do I know if my AGPS works or not?
dharvey4651 said:
I was just about to post something similar. Only I wasn't as prepared with as much information. I was going to try to start a thread to consolidate the AGPS server settings for each additional carrier since I'm with T-Mobile and using an AT&T Fuze. My AGPS is not working at all. It keeps trying to connect to AT&T's Media Net and naturally, it fails.
Would it be possible to maybe create some kind of way to trick the devices into thinking that they are AT&T Fuze's and connect to the Media Net to connect to AT&T's AGPS Servers?
I Personally support this project 100%!!
Side note - Has anyone gotten AGPS working on USA T-Mobile at all? I attached a screenshot of the result of what happens when I try to use AGPS on my Fuze.
Click to expand...
Click to collapse
Actually, there are AGPS standards. Today, most GPS chipset vendors use their own AGPS platforms. However, that is rapidly changing. To my knowledge, most (including Snaptrack/GPSOne, aka Qualcomm) support 'secure user plane location architecture' or SUPL. This is a standard adopted by the OMA or 'Open Mobile Alliance' (www.openmobilealliance.org). The OMA is basically almost all of the heavy weights of wireless including Silicon manufacturers, Handset Vendors, Carriers, etc.
Currently, the OMA has ratified SUPL v1.0 and the standards body and members are working on the next version - 2.0.
What is SUPL? In a nutshell, SUPL is designed to support location determination regardless of the location server used by the mobile carrier. As the number of applications grow for LBS, so does the need by developers to work across location platforms and mobile device hardware manufacturers.
CLS, I am a bit confused as to your intentions. The Raphael supports artificial ephemerids (Qualcomm's GPSOneXTRA) which cut cold-start TTFF down to under 10 seconds. Using cellular triangulation won't buy you much.
Is there another reason I am missing here?
Da_G said:
dharvey4651:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
You need to change those to whatever your network is called on t-mobile
Click to expand...
Click to collapse
I'll try this now. I think my data is called "T-Mobile Data"
fatguybp said:
I dont know much about any of this, I have an AT&T Fuze with AT&T service, I also have the AT&T Navigator Software and an account with it, so, is there anything I can do to help? how do I know if my AGPS works or not?
Click to expand...
Click to collapse
If your AGPS is working, your GPS should lock in just under a minute every single time, sometimes even faster. With my old Sprint Touch(back when I was with Sprint), I was able to lock onto upwards of 7 satellites every single time in less than 10 seconds. Now it takes 2-5 minutes every time with my Fuze on T-Mobile.
Operation619 said:
Actually, there are AGPS standards. Today, most GPS chipset vendors use their own AGPS platforms. However, that is rapidly changing. To my knowledge, most (including Snaptrack/GPSOne, aka Qualcomm) support 'secure user plane location architecture' or SUPL. This is a standard adopted by the OMA or 'Open Mobile Alliance' (www.openmobilealliance.org). The OMA is basically almost all of the heavy weights of wireless including Silicon manufacturers, Handset Vendors, Carriers, etc.
Currently, the OMA has ratified SUPL v1.0 and the standards body and members are working on the next version - 2.0.
What is SUPL? In a nutshell, SUPL is designed to support location determination regardless of the location server used by the mobile carrier. As the number of applications grow for LBS, so does the need by developers to work across location platforms and mobile device hardware manufacturers.
CLS, I am a bit confused as to your intentions. The Raphael supports artificial ephemerids (Qualcomm's GPSOneXTRA) which cut cold-start TTFF down to under 10 seconds. Using cellular triangulation won't buy you much.
Is there another reason I am missing here?
Click to expand...
Click to collapse
I've never had my Fuze lock it's GPS 10 seconds or less. NEVER. It's usually 2-5 minutes on average. Sometimes it doesn't even lock at all after standing outside in the cold for upwards of 5 minutes smoking a cigarette.
Dharvey:
I get 3D position fixes in open-sky conditions in ~6 seconds.
Under my balcony in my apartment in a highly attenuated partial-sky view I will get 3D fixes in ~20 seconds.
Indoor in my home office with a south facing window and light foliage I'll see 2D in about 1 minute and 3D almost always under 2 minutes.
At my corporate office with a re-radiating GPS antenna I'll see consistent GPS lock in ~6 seconds.
Hell, I'd love to put this in the multi-channel GPS simulator at my desk but I don't think that's a good idea.
Operation619 said:
Dharvey:
I get 3D position fixes in open-sky conditions in ~6 seconds.
Under my balcony in my apartment in a highly attenuated partial-sky view I will get 3D fixes in ~20 seconds.
Indoor in my home office with a south facing window and light foliage I'll see 2D in about 1 minute and 3D almost always under 2 minutes.
At my corporate office with a re-radiating GPS antenna I'll see consistent GPS lock in ~6 seconds.
Hell, I'd love to put this in the multi-channel GPS simulator at my desk but I don't think that's a good idea.
Click to expand...
Click to collapse
Yes you definitely have working AGPS
I made the registry changes mentioned above and I'm about to test my AGPS now. If it works I'll make a cab file to make the registry changes for everyone who may want it. (T-Mobile Only of course)
EDIT:: Making the following registry changes seems to have helped a little. My GPS locked in about 1 minute in my bedroom from a cold start(after soft-reset) It also connected to the data instead of error-ing out which was also different.
FROM:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="MEdia Net"
"GPRSConnection"="MEdia Net"
TO:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\SUPL AGPS]
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
EDIT AGAIN:: I just soft-reset and from a dead cold start(GPS OFF COMPLETELY) it locked onto 8 satellites in less than a minute in my bedroom agian.
I'm starting to like this phone again.
EDIT AGAIN...Spoke too soon... It's doing it again. It was fast for 2 locks and 2 soft-resets but now it's slow again.
This is what the SUPL AGPS key looks like in my registry:
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS]
"EnableAGPS"=dword:00000001
"Network"="T-Mobile Data"
"GPRSConnection"="T-Mobile Data"
"PrivacyMethod"=dword:00000003
"TLSHostName"="h-slp.mnc410.mcc310.pub.3gppnetwork.org"
"ServerIP"="199.88.233.169"
"ServerURL"="h-slp.mnc410.mcc310.pub.3gppnetwork.org"
"DynamicURL"="h-slp.mnc000.mcc111.pub.3gppnetwork.org"
"EnabledPrivacyMethod"=dword:00000001
"CloseConfirmMsgTime"=dword:0000003C
"EnableLocInfo"=dword:00000001
"ServerPort"=dword:00001C6B
"QosPerformance"=dword:00000059
"QoSAccuracy"=dword:00000032
"TimeBetweenFixes"=dword:00000001
"NumberFixes"=dword:3B9AC9FF
"GPSMode"=dword:00000002
[HKEY_LOCAL_MACHINE\Software\HTC\SUPL AGPS\DefaultSetting]
"EnableAGPS"=dword:00000001
"CloseConfirmMsgTime"=dword:0000003C
"PrivacyMethod"=dword:00000000
"EnableLocInfo"=dword:00000001
Nope. I'm not using any type of TOA or AOA, or what you and the OP are describing as "AGPS" on this handset. Network provided AGPS is disabled. Furthermore, GPS performance is somewhat better when my GSM radio is off.
Note that I am using the artificial ephemeris information provided by the Q or "QuickGPS" as most users know it.
These shots were taken in my home office scenario I described above. PDoP is pretty high (but still good) as I am in a poor visibility scenario (lots of multipath, limited sky view, etc.)
Well... I finally got AGPS working for me(at least it feels like it). My GPS is now locking onto 6-10 satellites in less than a minute every single time. Even after a soft-reset without using any kind of primer like GPSToday or HTC GPS Tool.
I'm a happy camper.
All it took was a little tweaking to the registry and now it works.
I attached a cab file to fix the AGPS.
WARNING!!! This is ONLY FOR USA T-Mobile!!
Harvey,
Are you downloading the QuickGPS file? If so, what's the age of the download?
Operation619 said:
Harvey,
Are you downloading the QuickGPS file? If so, what's the age of the download?
Click to expand...
Click to collapse
Where does QuickGPS download to? I downloaded it today but I never bothered looking for the file it downloaded.
I would suspect you are still not using network-assisted positioning. The QuickGPS file is aiding the receiver.
If you were using network assistance you would be getting rough position (<1000m) in seconds. Even indoors or your basement where there is zero GPS signal available.
Here's a quick way to test if AGPS is really working.
Set GPSMode to 1. GPSMode is normally set to 2 - it will auto-fallback if AGPS fails.
GPSMode 1 will continually try to get an AGPS fix, and not send you any NMEA data at all if it doesn't. You'll probably need to up the value in TimeBetweenFixes from 1 to at least 3 or 4, allowing only 1 second between fixes doesn't give your phone enough time to send location data to the AGPS PDE server and get a response.
Anywho, in GPSMode 1 i get no NMEA strings at all, so my agps is definitely broke
Operation619 said:
I would suspect you are still not using network-assisted positioning. The QuickGPS file is aiding the receiver.
If you were using network assistance you would be getting rough position (<1000m) in seconds. Even indoors or your basement where there is zero GPS signal available.
Click to expand...
Click to collapse
You may be right but I feel that It's still using some form of network assisted GPS because it's never been this fast before. I hard-reset and did not use QuickGPS at all and my results are the same.
Try turning off your radio to see if you still have the same TTFF.
Remember QuickGPS will download it's data in the background on a cradled connection with no cue from you, too, so make sure it didnt download \Windows\xtra.bin and inject it without you knowing
Also the QuickGPS data survives a hard reset if "ClearGPS" flag isnt set for the hard reset program or you don't have the CleanGPSData package in your ROM.
Operation619 said:
Try turning off your radio to see if you still have the same TTFF.
Click to expand...
Click to collapse
I'll try this now.
EDIT:: Seems you're right. It just locked onto 10 satellites in flight mode right in my bedroom in less than 30 seconds. WOW. Never saw it do that before.
Good catch Da G.
Harvey - are you willing to do a little test?
To test if network assistance is available and helping you might want to try the following.
This test will need to be performed at the same location in an ideal, open-sky condition with the handset in the same orientation in your hand each time:
1. Make sure your handset is free of the QuickGPS file.
2. Shut off all radios, go outside in a clear, open-sky environment.
3. Acquire 3D position fixes 10 times. Record the times it takes to acquire in seconds (aka TTFF).
4. Average the TTFFs
5. Power Cycle the handset.
6. Ensure no programs or registry settings inhibit AGPS or network assistance.
7. Make sure there is no QuickGPS file present.
8. Turn on your GSM radio.
9. Re-acquire GPS 3D position fixes in the same open-sky area 10x and record each TTFF
10. Average the TTFFs
What's the result?

GPS - will this work

Hello All,
Junior Newb here.
I'm thinking of purchasing an HTC Touch Pro(1) Sprint model from someone here. I am not planning on getting a sub from Sprint. I am purchasing the phone mainly to use as an GPS for when I am motorcycling as I do not have a mounted GPS on the bike. I am unclear on how GPS actually receives its signal? I have read and best I can decypher is GPS units gets their signal from various satellites. I have also read were various cell phone companies have their own spin on GPS software of their own creation? Am I going to be able to use Google maps on this phone and have it do what I want it to do? I am eons behind times,in case you hadn't guessed that by now. Also will the GPS be readable if I have the phone stuck in my chest pocket and pull it out going down the road? Can someone chime in on how long battery life would be with this scenario as well? I know the battery life listed in spec sheets are usually not even close in the real world.
Thanks,
Barry
Right!
GPS works by checking the different time stream data from several satellites - the receiver (in this case the phone) uses this to produce your position (and by changing position over time - speed).
Honestly - for 99.9% of people, this as it is - is useless. You then need to put this info into mapping software. Google maps is ok, but IMO itsnt very good for using while driving (prob much less for while on a bike!). Personally i use tomtom for in car and google for walking (so if you're checking your position & local roads, then riding - stop & repeat then google maps will prob be fine).
If you read more on the forums (and the web in general) you will come across 2 other "types" of GPS:
aGPS - assisted GPS - works by using your known position (roughly) from mobile/cell towers, this allows the GPS receiver to get a lock quicker.
quickGPS - this downloads the almanac data from the web so youre device knows where the satellites are. If you dont do this, it will download the data from the satellites themselves, but this takes longer.
Neither are any use on their own - they simply improve GPS lock times (from turning on, to having your position).
Battery life - depends on many things including your rom & radio, software, battery condition etc etc.
Remember - for google maps to work you will need a data connection (watch the cost if its not part of a deal).
If all you want is a hand held or bike GPS - then i think you're looking at a very bad choice in the touch pro! if you want a phone, pda, web browser, gps etc etc then it will probably do everything you want.

[Q] Increasing GPS accuracy @ Home

Is there a way to increase GPS accuracy of a phone for one specific location? Ie broadcasting your own GPS signal.
short answer - no
Long answer, incase you want reasoning....
our cells use two methods for give us our "GPS" service:
Cell Tower Positioning (not true GPS) & Global Positioning GEO-Sync Satellites (true GPS)
both methods are similar in that it takes the position of SEVERAL signals to triangulate your position.... the more signals it picks up, the more accurate your location.
While it is possible to provide a false reading, which is done to test and service GPS systems (this is done through a diagnostic port that feeds dummy raster data to the device) you CAN NOT BROADCAST a (potentially false) GPS signal.... doing such without an FCC license and licensed equipment is not only against the law, but can be very dangerous to anything else that might happen upon the signal... Crashing planes, cars, trains, and other GPS dependant systems come to mind...
For an interesting read regarding all this... see http://www.msnbc.msn.com/id/26992456/
As an FYI, There are Earth-Based stations that GPS can use to assist in positioning.... BUT it takes about 3 years to get the FCC approval, and about $15 million in equipment for a MODEST station.... if your still interested... I even know of a business that would be willing to do the setup-install ;-p
I continued searching, and even the false gps is still quite expensive (thousands).
There is some hope for the future, InvisiTrack, though I suspect there are people who would say they are close to a Time Masheen.
However then I stumbled on, gps repeaters. Not that I could find a price or legality (they are aimed at businesses and have no US distributer). This seems like the solution, but need FCC approval in the US. Canada might be fine.
*For links search google for the terms, being a new user sucks.
Sorry... wish there was a better answer, but with SO MANY governments and systems utilizing GPS Positioning... MANY of which are very dependant on the service.... it's easy to see why it's very regulated & protected.
Depending on your device, try a different Radio ROM... or maybe try pointing the software you're using to the specific COM & Baud of the GPS, instead of having the OS be the go-between... sometimes that will boost the performance.
For example... i've got the HD2, and from the HTC GPS tool I found that the GPS is on COM4 with a Baud of 57600. When I pointed Google Maps & Bing to the specific COM/Baud I saw an increase in the number of sats it picked up... and the location was more accurate.
Also... there are apps like QuickGPS which will periodicly download the GPS sat. locations.... allowing the device to pickup the sats quicker.
Ive started looking for a way that does not involve GPS, but using other frequencies to determine location.
One method seems to be placing bluetooth devices throughout the location and using those to determine a location. Currently looking into feasibility.

[Q] Custom Stripped Dedicated Tracking OS for Long Life GPS Tracking

I have a need for tracking my vehicles remotely in case of theft. I have tried Lojack which failed miserably because after the thief deactivates the unit there is no way to recover the vehicle. There is a buffer time between finding the vehicle stolen and being able to activate Lojack of about 3 hours, which is plenty enough time to search the vehicle and deactivate the unit. The best solution is something that records the location of the vehicle to a remote server. The location log can be viewed even after the unit on the vehicle is deactivated which should show the location of the chop shop, garage, etc.
The most reliable and user-friendly product available is a cell phone using Google Latitude wired into the vehicle’s constant 12V+ using a car charger. Google Latitude Location History must be enabled so all past logged locations are viewable with a timestamp on a map.
Some downsides to Google Latitude are:
Location update intervals not configurable
Android OS has many unneeded features that waste battery
Android phones last 8 hours max when GPS tracking set to update every 10 minutes and with sync disabled and never turning on the screen (based on my tests with various Android phones after fully charging the batteries)
Proposed Solution:
Strip the Android OS down to bare minimum (linux kernel, no GUI, only cellular and GPS support) with configurable location update frequency that updates to Google Latitude. This would be a dedicated tracking device not usable as a normal phone, but should extend battery life.
Questions I have:
How many people would be interested in testing/using this customized OS?
Do people with experience customizing Android think this is worthwhile?
Is anything like this already being worked on?
Would anyone be willing to help me when I need an experienced guide?
I’m not interested in charging money and will release the source code.
Update:
Latify for Android updates the phone's current location using the Google Latitude API and lets you set the update interval and can auto-start when the phone is turned on. Latify makes a dedicated tracking OS less important but I'm still curious what the community thinks of the idea.

Best *satellite* GPS Device (no AGPS)

Hello,
Which android device has the best satellite GPS? Note: I am asking purely about the satellite-gps, not AGPS or anything else that doesn't depend purely on satellites in the sky.
Also, is there a website that lists which phones use which hardware GPS chips? Excluding software AGPS, this is entirely a hardware question. So if I can eliminate ****ty phones with known pure-gps problems, I can check the chip and eliminate a slew of other devices that won't serve as a useful alternative.
To clarify "best":
[a] high-availability (ie: always able to get a lock, even if it takes an hour)
fast lock time
[c] accuracy
In my case, I absolutely require [a], and I am far more interested in having than [c]. Inaccuracy within ~200m is fine.
Background: I'm looking for an old, small, used android device that I can pickup on ebay for bicycle touring. This phone will be rooted without gapps, running osmand with downloaded maps.
When traveling down a deserted road in, say, Cambodia, and I come to an unmarked fork in the road, I'd like to be able to [a] pedal ~200m down my best-guess of the fork boot this android device in airplane mode [c] quickly get my gps coordinates [d] see where I am on the map [e] determine if I took the correct fork.
Currently, I'm using a Samsung Galaxy S4 (again, no AGPS). If I'm on a roof-top or in a field, I can sit, wait, and *never* get a GPS lock. Not only does it not get a lock, but the GPS Test and/or SatStat apps show that I can't see a single satellite. My guess is it's a hardware issue.
My searching online suggests that the S4 has *great* GPS lock-time, but it's hard to search & find reports from S4 users (or any phone for that matter) that don't use AGPS.
I'm thinking any phone that can run at least Android v3.0 = Honeycomb is fine. An older & lighter phone with a smaller screen is best. Of course, as long as it has a solid GPS chip
TIA!

Categories

Resources