android - ways for a client to identify the specific access point it is connected to within a single SSID? -


the problem follows - there's university campus wide wifi connection single ssid, "campus-wifi". user freely roams around campus, , usual hand-off between access points occurs. question is, there information @ layer of network stack allows client identify (any unique identifier fine) specific access point they're connected to, rather fact connected "campus-wifi"?

if it's relevant, i'd able mobile devices (android/ios primarily).

you can bssid of access point connected to. like:

wifimanager wifi = (wifimanager) getsystemservice(context.wifi_service); wifiinfo info = wifi.getconnectioninfo(); string bssid = info.getbssid(); 

not 100% you'll bssid since i've never used -- should uniquely id base station -- wikipedia seems indicate you'll mac of ap (near bottom):

http://en.wikipedia.org/wiki/service_set_(802.11_network)#basic_service_set_identifier_.28bssid.29

-- dan


edit:

according android docs, mac address:

http://developer.android.com/reference/android/net/wifi/wifiinfo.html


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -