你好,我使用CC3200,修改WLAN_AP例程,在里面添加了TCP/IP Client的功能。然后发送数据,发现在电脑端连接CC3200发出的WLAN后,接收速度只有150kb左右,请问下做WLAN模式最大速度能达到1.5Mbyte/s吗
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,修改WLAN_AP例程,在里面添加了TCP/IP Client的功能。然后发送数据,发现在电脑端连接CC3200发出的WLAN后,接收速度只有150kb左右,请问下做WLAN模式最大速度能达到1.5Mbyte/s吗
看下手册16章,速率可以设置,:https://www.ti.com.cn/cn/lit/ug/swru368b/swru368b.pdf?ts=1604287434930&ref_url=https%253A%252F%252Fwww.ti.com.cn%252Fproduct%252Fcn%252FCC3200
user6458813 说:点开网络共享中心查看无线网络连接状态发现速度是58Mbps
这应该包括了PC和路由器的带宽
CC3200TCP和UDP速率:e2e.ti.com/.../3238578
没有直接测试的例程,你可以用手机安装Iperf测试下可以看到速率,sl_Send一次只能发送一个
/*! \brief write data to TCP socket This function is used to transmit a message to another socket. Returns immediately after sending data to device. In case of TCP failure an async event SL_SOCKET_TX_FAILED_EVENT is going to be received. In case of a RAW socket (transceiver mode), extra 4 bytes should be reserved at the end of the frame data buffer for WLAN FCS \param[in] sd socket handle \param[in] buf Points to a buffer containing the message to be sent \param[in] Len message size in bytes. Range: 1-1460 bytes \param[in] flags Specifies the type of message transmission. On this version, this parameter is not supported for TCP. For transceiver mode, the SL_RAW_RF_TX_PARAMS macro can be used to determine transmission parameters (channel,rate,tx_power,preamble) \return Return the number of bytes transmitted, or -1 if an error occurred \sa sl_SendTo \note belongs to \ref send_api \warning \par Example: \code An example of sending data: SlSockAddrIn_t Addr; _i16 AddrSize = sizeof(SlSockAddrIn_t); _i16 SockID; _i16 Status; _i8 Buf[SEND_BUF_LEN]; Addr.sin_family = SL_AF_INET; Addr.sin_port = sl_Htons(5001); Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(10,1,1,200)); SockID = sl_Socket(SL_AF_INET,SL_SOCK_STREAM, 0); Status = sl_Connect(SockID, (SlSockAddr_t *)&Addr, AddrSize); Status = sl_Send(SockID, Buf, 1460, 0 ); \endcode */ #if _SL_INCLUDE_FUNC(sl_Send ) _i16 sl_Send(_i16 sd, const void *buf, _i16 Len, _i16 flags); #endif