On 11/14/2012 10:27 AM, geno...@gmail.com wrote:
I'm a student and I realize a thesis about the geolocation with HTML5.
Especially about the Geolocation API standardized by W3C.
The current Firefox browser implements this function, it is describe here :
http://www.mozilla.org/en-GB/firefox/geolocation/
But I need more detailed information. In this page it is written that "Firefox
gathers information about nearby wireless". Is it possible to have more information
about that? especially how and where the browser find and get back the wireless
information (SSID, @IP, @MAC...) from the computer or smartphone?
Thank you a lot in advance for your answer.
There is a platform-specific service that obtains data about accessible
wireless networks and sends this data to the Google geolocation data
provider, which in turn uses it to better triangulate the user's
position. The code for the scanners is here:
http://mxr.mozilla.org/mozilla-central/find?text=&string=wifiscanner
The geolocation provider that uses the network data is
http://mxr.mozilla.org/mozilla-central/source/dom/system/NetworkGeolocationProvider.js#161,
and you can see that we send the SSID, MAC, and signal strength of each
network in view.
Cheers,
Josh
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform