Is there a way to get bssid of ios device access point programmatically, using Objective c or swift?
get bssid for personal hotspot (AP) on iOS device programmatically
Add a Comment
Is there a way to get bssid of ios device access point programmatically, using Objective c or swift?
You should find some help here (if you did not look at it yet):
https://forums.developer.apple.com/thread/50302
To get SSID and BSSID, of the current interface (on MacOS)
import CoreWLAN
func currentSSIDs() -> [String] {
let client = CWWiFiClient.shared()
return client.interfaces()?.compactMap { interface in
return interface.ssid()
} ?? []
}
func currentBSSIDs() -> [String] {
let client = CWWiFiClient.shared()
return client.interfaces()?.compactMap { interface in
return interface.bssid()
} ?? []
}
Should be pretty similar on IOS.