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.

CC3220SF tcp传输速率不稳定的情况



你好,我使用TCP/IP,socket进行数据传输。我的代码如下:

status = sl_Send(sockId,g_ucRxBuff_a, RESIZE, 0 );
if(status <= 0 )
{
status = sl_Close(sockId);
status = sl_Close(sockId_2);
TcpClient_init(1);
}

status = sl_Send(sockId,g_ucRxBuff_b, RESIZE, 0 );
if(status <= 0 )
{
status = sl_Close(sockId);
status = sl_Close(sockId_2);
TcpClient_init(1);
}

上位机只做接受数据,然后不做其它操作。发现速率十分不稳定,能上到1.1M,然而长时间是在500到600波动,最低的时候降到200kb左右。为什么速率会十分不稳定,我时候的还是你们的开发板,上位机的网卡带宽都是没有问题的。而且两者之间的距离也十分的近,为什么会造成这么大的网速波动?