[英]How do I in an app get the BSSID of my device's hotspot access point on android
When I have an android device configured for and acting as a hotspot ( wifi access point) how can I get the current (possibly generated and unique for each activation of the hotspot) BSSID seen by other devices for the current active hotspot. 当我为某个热点(wifi接入点)配置了一个android设备并充当其热点时,如何获取当前活动热点的其他设备所看到的当前BSSID(可能对于该热点的每次激活都是唯一的)。 Not the SSID but the BSSID. 不是SSID,而是BSSID。
WifiInfo info = mWifiManager.getConnectionInfo();
String BSSID = info.getBSSID();
Hope that helps. 希望能有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.