WlanGetAvailableNetworkList的结果始终相同。 [英] the results from WlanGetAvailableNetworkList are always the same.

查看:98
本文介绍了WlanGetAvailableNetworkList的结果始终相同。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个程序,通过函数WlanGetAvailableNetworkList获取所有AP的几组信号质量。
我这样做只能每秒调用一次WlanGetAvailableNetworkList。

但是, PWLAN_AVAILABLE_NETWORK->网络[]。我得到的wlanSignalQuality总是一样,没有区别。

我想知道PWLAN_AVAILABLE_NETWORK的价值有多长时间了?还是有方法我可以手动更新它?

非常感谢!

I am writing a program to get several sets of the signal qualities of all the APs by the function WlanGetAvailableNetworkList.
I do this only by calling WlanGetAvailableNetworkList once per second.

However, the PWLAN_AVAILABLE_NETWORK->Network[].wlanSignalQuality I got are always the same, no differences.

I am wondering how long the value of PWLAN_AVAILABLE_NETWORK is updated? or is there a method i can update it manually?

Thanks a lot!

推荐答案

你需要打电话给 WlanScan 以获取更新列表。请注意,WlanScan将立即返回,您的客户需要使用 WlanRegisterNotification 扫描完成时收到通知。
You need to call WlanScan for the list to get updated.  Please note that WlanScan will return immediately and your client will need to register using WlanRegisterNotification to be notified when the scan is complete.


这篇关于WlanGetAvailableNetworkList的结果始终相同。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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