0

I have implemented my own TFTP library for STM32 on Keil using GSM Telit GL865 via Uart.

I realized that, if I command continuous pinging starting from the initialization, TFTP packages are exhanged fast.

If I do not start continuously pinging the system at the initialization, packets are exchanged slower.

Do you have any idea why pinging makes GSM module's UDP server socket work faster? This is a little bit weird actually.

1 Answers1

1

TCP/UDP data is probably not received continuosly but every timeout_recv milliseconds (I suppose in order to limit power consumption, even if full power saving is disabled).

Sending PING requests you are probably triggering asynchronous wake-ups, that force recvs to be done more often and speeding up the entire communication.

Roberto Caboni
  • 7,252
  • 10
  • 25
  • 39