什么是用于扫描可用的Wi-Fi网络的iOS API [英] What is the iOS API for scanning available wi-fi networks
问题描述
这就是问题所在,但这里是长版本:我正在开发一个需要模仿Belkin Wemo连接工作流程的项目。 Wemo是一个物理开关,可以通过iOS应用程序进行控制。
That's the question, but here's the long version: I'm working on a project that needs to mimic the connection workflow of the Belkin Wemo. The Wemo is a physical switch that can be controlled from an iOS app.
这就是设置的工作原理:
This is how the setup works:
- Wemo充当wifi路由器,它广播一个SSID,你
从iPhone
设置中的可用网络列表中选择它。 - 然后从内部选择你的家庭Wi-Fi网络给出可用网络列表的wemo app 。
并输入您的网络密码。据推测,Wemo设备可以
连接到你的wi-fi路由器。 - 然后Wemo应用宣布它正在连接,然后是
设置远程访问。
- The Wemo acts as a wifi router, it broadcasts an SSID, and you choose it from the list of available networks in your iPhone settings.
- You then choose your home wi-fi network from within the wemo app, given a list of available networks. and enter your network password. Presumably so the Wemo device can connect to your wi-fi router.
- The Wemo app then announces it is connecting, and then that it is setting up remote access.
这让我想到:Wemo应用程序如何检查可用网络 - 又称,什么是用于扫描的iOS API可用网络,显示它们并与它们一起工作?
Which brings me to: How does the Wemo app check for available networks -- aka, What is the iOS API for scanning available networks, displaying them and working with them?
推荐答案
目前iOS中没有可以执行此操作的公共API(用于在iOS 5之前可用。您可以查看像Stumbler这样的第三方库,它可以帮助您查看网络: http://code.google.com/p/iphone-wireless/wiki/Stumbler
There is no public API in iOS currently that can do this (used to be available pre iOS 5). You can check out a third party library like Stumbler which should help you achieve the viewing of networks: http://code.google.com/p/iphone-wireless/wiki/Stumbler
这篇关于什么是用于扫描可用的Wi-Fi网络的iOS API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!