I am trying to use the Apple 802.11 private library in a project to detect the SSID and signal strength for WiFi access points in the area. This has been discussed in other threads, such as:
iPhone Wifi Scan Stumbler
YES I know that this is not supported and requires private APIs, and I cannot offer this APP in the app store. This is for a private application that just helps us in testing the network.
From my research - it looked like a collection in which the 80211 library was in /System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager in iOS4
This has changed to: /System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration in iOS5
I am looking for its location in iOS 6.1 (I am running Xcode 4, if that matters). When I try to run this code with
libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY);
or
libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);
I get an image that did not detect an error, which makes me think that Apple will do it again.
Does anyone know where the 80211 library lives now, or is there another way to get WiFi information (SSID and signal strength)?
Thanks Ryan Ryan@MassachusettsWebDesigns.com
source share