Is there a way to get the BSSID (Mac adress) of the Accespoint i am connected to?
I noticed the WiFi libraries based on scan results but i want a solution to retrieve it directly.
getBSSID
Added in API level 1
public String getBSSID ()
Return the basic service set identifier (BSSID) of the current access point.
The BSSID may be null, if there is no network currently connected. "02:00:00:00:00:00", if the caller has insufficient permissions to access the BSSID.
How to use this in B4A?
https://developer.android.com/reference/android/net/wifi/WifiInfo.html#getBSSID()
I noticed the WiFi libraries based on scan results but i want a solution to retrieve it directly.
getBSSID
Added in API level 1
public String getBSSID ()
Return the basic service set identifier (BSSID) of the current access point.
The BSSID may be null, if there is no network currently connected. "02:00:00:00:00:00", if the caller has insufficient permissions to access the BSSID.
How to use this in B4A?
https://developer.android.com/reference/android/net/wifi/WifiInfo.html#getBSSID()