iOS wifi 扫描,信号强度

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12054818/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-30 19:47:50  来源:igfitidea点击:

iOS wifi scan, signal strength

iosios5wifi

提问by momo

As far as I know it's not possible to scan for hotspots in range and read their bssid and signal strengths. This was possible on iOS 4 by using private APIs and not longer possible on iOS 5 without jailbreak. Even if it were possible, the app would be rejected on the App Store. Is that right?

据我知道这是不可能的扫描热点的范围和阅读他们的BSSID和信号强度。这在 iOS 4 上可以通过使用私有 API 而在没有越狱的 iOS 5 上不再可能。即使可能,该应用程序也会被 App Store 拒绝。那正确吗?

One company that has an indoor positioning system is claiming they can develop this system in iOS. I know for a fact they are scanning for hotspots and signal strengths and then triangulating the signal on their current Android app.

一家拥有室内定位系统的公司声称他们可以在 iOS 中开发该系统。我知道一个事实,他们是在扫描热点和信号强度,然后三角他们目前Android应用的信号。

Are there any alternatives I am missing? Their claiming sounds impossible to me but I would love to hear from the people here. I would like to be ready when they demo (although I am expecting a jailbreak or some kind of mock up)

有没有我缺少的替代品?他们的说法对我来说听起来不可能,但我很想听听这里的人的意见。我想在他们演示时做好准备(尽管我期待越狱或某种模拟)

采纳答案by Rok Jarc

As far as i know this can still be done (using private APIs, of course) by MobileApple80211 framework.

据我所知,这仍然可以完成(使用私有的API,当然)MobileApple80211框架

Stumblercode is a good source of information on how to use this framework.

Stumbler代码是关于如何使用这个框架的一个很好的信息来源。

For iOS 5 you'll need a jailbroken iPhone. Guvener Gokcehas a very educational blog post on this: iPhone Wireless Scanner iOS5

对于 iOS 5,你需要一个越狱的 iPhone。Guvener Gokce有一篇非常有教育意义的博文:iPhone Wireless Scanner iOS5

回答by Claude

Just to update the answer: The MobileApple80211 framework has been replaced by MobileWifi.framework. You will need a jailbroken device (supposedly it can't be done using just private API's, hence on a development/enterprise non-jailbroken device).

刚刚更新了答案:MobileApple80211框架已取代MobileWifi.framework。您将需要一个越狱设备(据说它不能仅使用私有 API 来完成,因此在开发/企业非越狱设备上)。