Other Parts Discussed in Thread: UNIFLASH, SIMPLELINK-CC32XX-SDK
Hello.
I've developed a TCP firmware for SimpleLink.
The firmware configure SimpleLink as WiFi direct client and DHCP addressing.
I have developed a UWP c# software for my Windows 10 PC.
The software connects to SimpleLink using WiFi Direct (configure PC as GroupOwner).
After established connection the SimpleLink Listens on a TCP socket.
The PC connects to this TCP socket.
After TCP accepts incoming PC connection, the SimpleLink transmits packets wide 1kByte at maximum rate (I have a continuous loop that calls sl_Send continuously).
Sometimes I observe 1..2...3 seconds of delay between PC's "socket.receive" calls.
I use WireShark to inspect what's the matter.
The problem is that sometimes (due to noise in my environment: I'm in a factory with inverters)
some packets are lost and Windows 10 send Dup ACK (duplcated ACK) to inform SimpleLink about his loss.
See image.
SimpleLink retransmits this lost packets ---> OK !!
But I observe that SimpleLink retransmits lost packet 400ms after ACK : this is a problem for my aplication !! See image below.
192.168.137.214 is SimpleLink.
192.168.137.1 is my PC.
This 400ms delay is configurable ? I wish it was under 10ms...
Can someone help me ?