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 HTTPPostMethod 发送数据,容易出现fail

Other Parts Discussed in Thread: CC3200

大家好!

我现在的项目,需要通过CC3200接入到网络传输数据,用HTTPPostMethod 的方法提交数据后,出现一定概率的SimpleLinkSockEventHandler 回调函数,发送失败,而且一旦出现失败,会连续失败,需要重启一下CC3200才能解决。这种情况大家有遇到过吗?

void SimpleLinkSockEventHandler(SlSockEvent_t *pSock)
{
//
// This application doesn't work w/ socket - Events are not expected
//
switch( pSock->Event )
{
case SL_SOCKET_TX_FAILED_EVENT:
switch( pSock->socketAsyncEvent.SockTxFailData.status )
{
case SL_ECLOSE:
UART_PRINT("[SOCK ERROR] - close socket (%d) operation "
"failed to transmit all queued packets\n\n",
pSock->socketAsyncEvent.SockAsyncData.sd);
break;
default:
UART_PRINT("[SOCK ERROR] - TX FAILED : socket %d , reason"
"(%d) \n\n",
pSock->socketAsyncEvent.SockAsyncData.sd,
pSock->socketAsyncEvent.SockTxFailData.status);
}

break;

default:
UART_PRINT("[SOCK EVENT] - Unexpected Event [%x0x]\n\n",pSock->Event);
}
}