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.

CC3200获取已连接的AP的RSSI

Other Parts Discussed in Thread: CC3200

我在程序中需要获取CC3200连接wifi的RSSI值,

for(ucIndex = 0; ucIndex < 5;ucIndex++)
{
if(sl_WlanRxStatGet(&rxStatResp[ucIndex],0) == 0)
{
    UART_PRINT("Average Rssi for management: %d\n\r",rxStatResp[ucIndex].AvarageMgMntRssi);
}
else
{
    UART_PRINT("Failed\n\r");
}
MAP_UtilsDelay(8000000);
}

循环获取5次,每一次之后有短暂延时。但是一直只有第一次能够打印数值,后几次打印都为0,而且程序执行正确,串口没有打印出Failed

请问是什么问题导致么?