请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:CC3120MOD 在与任何接入点或路由器连接后、是否有任何 API/Function 可用于检查工作站模式下的网络强度?
有人可以建议吗?
此致、
Mahendra Rana
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在与任何接入点或路由器连接后、是否有任何 API/Function 可用于检查工作站模式下的网络强度?
有人可以建议吗?
此致、
Mahendra Rana
您好!
您可以使用以下代码:
SlWlanGetRxStatResponse_t rssiRxStat; int RSSI =-99; if (sl_WlanRxStatGet (&rsRxStat、0)= 0){ if (rssiRxStat.AvarageMgMntRssi!= 0){ RSSI = rssiRxStat.AvarageMgMntRssi; } 否则{ //错误 RSSI =-99; }
由于 RSSI 是根据通信管理数据包计算得出的、因此它不能使调用 API 的速度达到5秒。 如果以最快的速度调用 API、您可能会得到错误的结果。
1月