完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
有没有办法重新读取FI信号强度?我在API引用中没有看到它。
以上来自于百度翻译 以下为原文 Is there a way to read Wi-Fi Signal strength? I do not see it in the API Reference. |
|
相关推荐
6个回答
|
|
我认为您可以从WRDVX扫描结果的RSSI成员(在框架/驱动程序/WiFi/MRF24WN/ICOR/WDVVYMRF24WNU.NUL.H中定义)中获得您想要的,然后在MRF24WN驱动程序中调用ToRDRVXExtScReultRestGET(),或者在DMRVWiFixSCAN中得到等价的结果,结果是MRF24WG驱动程序。调用WiFi网络(接入点)的扫描结果获取函数,通过调用WDRVXExtEXCMDSCARTSCATE()来查找先前扫描启动时发现的每个WiFi网络(接入点)。WDVvExtEXCMDSCangeTe[()告诉你有多少这样的结果可以预期。实际上我还没有使用这个API,但是看起来好像你开始了一个扫描,调用WDRVXEXTEXSCANISIN PROSSRESH(),以确保它自己启动或完成它自己的协议和WDRVXExtSaveNaveTeNe(),如果你不想再等下去了。潜在的更多结果)。
以上来自于百度翻译 以下为原文 I think you can get what you want from the rssi member of WDRV_SCAN_RESULT (defined in framework/driver/wifi/mrf24wn/include/wdrv_mrf24wn_common.h) following a call to WDRV_EXT_ScanResultGet() in the MRF24WN driver or the equivalent in DRV_WIFI_SCAN_RESULT in the MRF24WG driver. You call the scan result get function for each WiFi network (access point) found during a previous scan initiated by a call to WDRV_EXT_CmdScanStart(). WDRV_EXT_CmdScanGet() tells you how many such results to expect. I've yet to use this API in practice, but it looks like you start a scan, call WDRV_EXT_ScanIsInProgress() to make sure it started properly or finished of its own accord and WDRV_EXT_ScanDoneSet() if you don't want to wait any longer (for potentially more results). |
|
|
|
|
|
|
|
这似乎不是我想要的我想要的是当前AP的力量
以上来自于百度翻译 以下为原文 This does not appear to be what I want I want the strength of the Current AP |
|
|
|
我不确定这篇文章是否有用:http://www..hip.com/for./FindPost/537242它建议你可以开始扫描而不断开当前的AP。然后,您可以通过SSID在结果列表中找到当前AP(以及相应的RSSI)。我不确定对于硬件来说意味着什么,调谐器是否在执行扫描步骤和当前连接的网络通道之间进行交替,以保持连接活跃。
以上来自于百度翻译 以下为原文 I'm not sure if this post helps: http://www.microchip.com/forums/FindPost/537242 It suggests you can kick off a scan without disconnecting the current AP. Then presumably, you can find the current AP in the results list (along with the corresponding RSSI) by SSID. I'm not sure what that means for the hardware, whether the tuner alternates between performing a scan step and the currently connected network channel in order to keep the connection alive. |
|
|
|
这一切的速度是黑客,因为WiFi G演示被复制到和谐,仿佛它是一个潜水员。需要的值从WiFi模块读取,每个包根据其他帖子。它在驱动程序中不可用。WiFi模块API没有发布。我投了一张支持票。我猜想他们需要在某个时候尝试关闭它。
以上来自于百度翻译 以下为原文 This all speed to be hacks due to the wifi G demo being copied in to harmony as if it was a diver. The needed value is read from the wifi module with each packet according to other posts . It is not available in the driver. And the wifi module API is not published. I put in a support ticket. I assume they will need to try and close it at some point. |
|
|
|
这里是三个月之后。DRV_WIFI_RSSI_Get_FromRxDataRead()是正确使用的函数。但是除非在drv_wifi_mac.c中定义WF_READ_RSSI_FROM_DATA,否则它不能工作。因为它不包括它们。您必须编辑Harmony文件。支持指示它们是m不要修复这个问题,或者Wi-Fi驱动程序中的任何其他问题。
以上来自于百度翻译 以下为原文 Here it is 3 months later. DRV_WIFI_RSSI_Get_FromRxDataRead() is the correct function to use. But it will not work unless you #define WF_READ_RSSI_FROM_DATA in drv_wifi_mac.c You can not do this in the system headers since it does not include them. You must edit the Harmony files. Support indicates they may not fix this, or anything else in the Wi-Fi driver. |
|
|
|
只有小组成员才能发言,加入小组>>
4834 浏览 9 评论
1842 浏览 8 评论
1756 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2966 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2068 浏览 5 评论
467浏览 1评论
1117浏览 1评论
288浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
371浏览 0评论
267浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-3 16:01 , Processed in 0.936126 second(s), Total 79, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号