Part Number: CC3220
Hi again, everyone!
I have a VERY BIG problem and this is a key issue to make a decision - use cc3220sf to start produce more than 10k devices or not?
ok
i include a .pcap file with tcp dump.
192.168.20.100 is our server
192.168.20.102 is cc3220sf.
UPD: i am f**ked up
192.168.20.102 is our server
192.168.20.100 is cc3220sf.
IS CORRECT
a problem is: no ACK packet transmitting when the cc3220sf is close a socket.
in dump:
Socket connection is good - cc3220 SYN -> server SYN ACK -> cc3220 ACK
data exchange is good to.
BUT! close connection is not full - cc3220 SYN -> server SYN ACK -> NO cc3220 ACK -> server SYN ACK -> server SYN ACK -> server SYN ACK and etc.
how i have coded:
int32_t tcp_socket_close_and_wifistop(void) { int32_t status = sl_Close(appData.sockID); ASSERT_ON_ERROR(status); UART_PRINT(" Socket close \n\r"); int32_t status = sl_Stop(5000); ASSERT_ON_ERROR(status); return status; }
int32_t status = sl_Stop(5000); with another time more than 5000 msecs doesn't help
I took it from power measure example.
here the picture:
why it is a PROBLEM:
my prototype wakes up every 180 sec and init a SECURED data exchange. and when the server send FIN ACK except DATA packet - cc3220 is freeze.
here the .pcap dump. open it in wireshark