add a condition to detect gateway mac address, or lan-local ping/httpget
This does something not possible with gps, or AP or essid detection.
There may be many APs within an organization. Detecting presence within the organization therefore may require knowing every AP's mac address and/or essid as that would not be feasable.
What you could depend on however, is the presence of a specific host (by ip or hostname) that is able to reply to pings or http gets. you would use a host on your internal lan, by its internal IP address, and if the http get included [companyname] or other text that would normally appear on that internal only server, you would know absolutely, that you are within wifi range of your company.
You could also use the mac address of the default gateway given during dhcp. That would be less likely to work in large organizations, but wouldn't require knowing a reliable other host to detect on the network.
Edit: Reopening per billycrook’s feedback.
I still believe much of the underlying goal is implemented by the Locale Wifi Connection plug-in available for free on the Android Market.
2 comments
-
billycrook
commented
Locale Wifi Connection detects wifi AP names, not gateway mac address, not lan-local ping, not http get. This item is not completed.
The mac address of your gateway does not necessarily change when you associate to another AP. Being able to ping a host or able to http get request a host also has nothing to do with what AP or WIFI connections you are within range.
-
Chris Boyle
commented
I'm thinking of implementing at least some of this: http://chris.boyle.name/2010/07/what-next