Native wifi API - 查找BSSID [英] Native wifi API - Find BSSID

查看:112
本文介绍了Native wifi API - 查找BSSID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有些无线接入点可以作为透明网桥工作,所以至少对我来说,找到BSSID是不容易的。我连接到的AP。

我已经设法用Native WiFi API编写一个应用程序,它可以找到我所连接的网络中存在的所有AP的BSSID,但是我不是看看如何找到我使用本机wifi API连接的AP的BSSID。


有人可以帮忙吗?

谢谢。

解决方案

您可以使用操作码wlan_intf_opcode_current_connection调用WlanQueryInterface(),它返回包含AP的BSSID的WLAN_CONNECTION_ATTRIBUTES。

以下链接包含详细信息。
http://msdn.microsoft.com/en-us/library/ms706765(VS.85)的.aspx

Hi,

Some wireless access points work as transparent bridges so, at least for me, it's not straightforward to find the BSSID of the AP I'm connected to.

I already managed to write an application with Native WiFi API which is able to find the BSSIDs of all APs present in the network I'm connected to, however I'm not seeing how can I find the BSSID of the AP I'm connected to using the native wifi API.

Can someone help?

Thanks.

解决方案

You can call WlanQueryInterface() with opcode wlan_intf_opcode_current_connection, which returns WLAN_CONNECTION_ATTRIBUTES that contains the BSSID of the AP.

The following link has detailed information.
http://msdn.microsoft.com/en-us/library/ms706765(VS.85).aspx


这篇关于Native wifi API - 查找BSSID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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