【问题标题】:Apple 802.11 API on IOS6.1 - anyone have the correct bundle?IOS6.1 上的 Apple 802.11 API - 有人有正确的捆绑包吗?
【发布时间】:2013-06-07 16:07:29
【问题描述】:

我正在尝试在一个项目中使用 Apple 802.11 私有库来帮助检测该地区 WiFi 热点的 SSID 和信号强度。这已在其他线程中讨论过,例如:

iPhone Wifi Scan Stumbler

是的,我知道这不受“支持”并且需要私有 API,并且我将无法在应用商店中提供此 APP。这是一个私人应用程序,只是为了帮助我们进行一些网络测试。

根据我的研究 - 在 iOS4

中,包含 80211 库的捆绑包位于 /System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager

iOS5

中改为:/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration

我正在寻找它在 iOS 6.1 中的 位置(如果这有什么不同,我正在运行 XCode 4)。当我尝试使用

运行此代码时
libHandle = dlopen("/System/Library/SystemConfiguration/WiFiManager.bundle/WiFiManager", RTLD_LAZY);

libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);

我收到一个未找到图像的错误,这让我相信 Apple 再次移动了这个。

有谁知道 80211 库现在在哪里,或者是否有其他方法可以获取 WiFi 详细信息(SSID 和信号强度)?

谢谢 瑞安 Ryan@MassachusettsWebDesigns.com

【问题讨论】:

    标签: ios xcode4 ios6.1 wifi


    【解决方案1】:
    libHandle = dlopen("/System/Library/SystemConfiguration/IPConfiguration.bundle/IPConfiguration", RTLD_LAZY);`
    

    这个方法在我的越狱设备(iOS6.1版本)上没问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-12-20
      • 2016-03-09
      • 1970-01-01
      • 2020-02-28
      相关资源
      最近更新 更多