Hey,
I am using MCF5253 host controller to drive CC3000,
I am working on TCP/IP Communication, So for doing performance testing I wrote a simple application to run in laptop which is working as a client application, this application will send a 1000 byte of data back to back to CC3000, whereas CC3000 is working as a server and on reception of data it will transmit this data to the client running on laptop.
So it make a loop kind of structure, where client will first send a MSG then Server(CC3000) will check the number of bytes received and then transmit the number of bytes received to client application.
So I am seeing different issue while doing the testing :
1. On client side if I don't put any delay between two Send operation then TCP connection lost very early like after transmitting 7K byte(After doing 7 loop of transmission).
2. If I will put the delay of 100ms in between two send operation on client side then after sending some 5 million of data tcp connection lost(after doing a more then 5K loop of send msg).
3. but in both the above case CC3000 always receive a less amount of data then Tranmitted so it will tranmit less data to client.
At this point of time I am not sure what needs to done to make the performance better.?
Why adding a delay is making difference.
See the attached wireshark log file for detail and share your valuable comment.
Here is the part of log file taken with 100 ms of delay.
(Please visit the site to view this file)
Here is the log file taken with no delay in between send operation on client side(laptop)
(Please visit the site to view this file)