如何在工作灯中列出可用的Wifi接入点 [英] How to list the available Wifi access point in worklight

查看:103
本文介绍了如何在工作灯中列出可用的Wifi接入点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须使用worklight在我的应用中列出可用的wifi接入点。如何使用worklight进行此操作。

I have to list the available wifi access point in my app by using worklight . How to do that using worklight.

推荐答案

有关示例如何连续获取一组SSID的所有访问点的示例代码请参阅:
在知识中心区分室内区域

For some sample code showing how to continually acquire all the access points for a set of SSIDs see: Differentiating between indoor areas in the Knowledge Center.

您可以在SSID和MAC中使用通配符(*)接入点过滤器。

You can use a wildcard (*) for the SSID and MAC in the access point filters.

如果您只想要一次性获取,请使用 WL.Device.Wifi.acquireVisibleAccessPoints API。

If you just want a one-time acquisition use the WL.Device.Wifi.acquireVisibleAccessPoints API.

请注意,在非Android平台上,您仅限于有关已连接接入点的信息。请参阅这里了解有关平台限制的更多信息。

Note that on non-Android platforms, you are limited to information about the connected access point. See here for more on platform restrictions.

这篇关于如何在工作灯中列出可用的Wifi接入点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆