B2G/QA/Geolocation: Difference between revisions

no edit summary
No edit summary
Line 34: Line 34:
* checkin apps like four squares, Find My Device
* checkin apps like four squares, Find My Device
* geofencing web apps : Home Depot closest location, yelp
* geofencing web apps : Home Depot closest location, yelp
 
=== Signals ===
== MLS / Wifi ==
==== MLS / Wifi ====
* indoors or out, it doesn't matter as long as you are near wifi points.
* indoors or out, it doesn't matter as long as you are near wifi points.
* wifi must be turned on
* wifi must be turned on
Line 45: Line 45:
* If we don't have MLS data point we use GeoIP
* If we don't have MLS data point we use GeoIP


== MLS/Cell Tower ==
==== MLS/Cell Tower ====
* turn wifi off, if GPS/AGPS doesn't kick in, it will fall back to Cell tower.
* turn wifi off, if GPS/AGPS doesn't kick in, it will fall back to Cell tower.
* cell data off
* cell data off
Line 53: Line 53:
* If we don't have MLS data point we use GeoIP
* If we don't have MLS data point we use GeoIP


== GeoIP:==  
==== GeoIP:====
* IP address: 50 miles accuracy ( server which assigned IP address to the device from the cell tower)
* IP address: 50 miles accuracy ( server which assigned IP address to the device from the cell tower)
* Some more explanation found here : https://bugzilla.mozilla.org/show_bug.cgi?id=1023647
* Some more explanation found here : https://bugzilla.mozilla.org/show_bug.cgi?id=1023647


== AGPS ==
==== AGPS ====
* must be outside or near outside (window)
* must be outside or near outside (window)
** best when outside away from buildings, having south side clear of buildings.
** best when outside away from buildings, having south side clear of buildings.
Line 75: Line 75:
**** HULA must be on a Broadcom chipset as this is Broadcom's proprietary AGPS Ephemeris Prediction
**** HULA must be on a Broadcom chipset as this is Broadcom's proprietary AGPS Ephemeris Prediction


== GPS ==
==== GPS ====
* Requires:
* Requires:
** outside location only
** outside location only
Line 87: Line 87:
** inside in a building : 0.  Nothing should be found
** inside in a building : 0.  Nothing should be found
** AGPS server to speed up location finding; could potentially take 15 minutes.
** AGPS server to speed up location finding; could potentially take 15 minutes.
=== Notes for Testing ===
There was a patch that now caches queries, so we do not ping the server every 5 seconds for geolocation data.
Shutting off wifi : (Bug 1014924)
Expected: that shutting off wifi should shut off wifi scanning
Actual: does not shut off wifi scanning, no change in geolocation because of this.
When using mobile SIM:
geolocation should scan cell towers and try to use multiple
currently on all devices seem to be only using one cell tower and not triangulating
GeoIP :
worst case scenario uses GeoIP
how to set this : no cell tower and no wifi scanning
no sim turn off wifi
GeoIP is very approximate


== Background info ==
== Background info ==
Confirmed users
4,378

edits