-->
Page 1 of 1

UDP send pauses every 100ms

PostPosted: Mon Sep 12, 2016 8:05 am
by SO_yeah
I'm sending a message (60 bytes packet) every 1ms.
if sending to broadcast I experience 200ms pauses every 100ms.

I found in reply #3 here http://forum.arduino.cc/index.php?topic=316443.0 that this might be related to sending to multiple IPs.
In fact sending to a specific IP cause the pauses to drop to 5ms (still occurring every 100ms).

this behavior is independent from: CPU frequency 80/160MHz or sending interval 1ms/2ms/4ms.

I'm diving into lwip looking for hints but that is going to take time.

Is this 100ms interval some UDP specification?!
what would you guess is happening during the pauses?!

Re: UDP send pauses every 100ms

PostPosted: Mon Sep 12, 2016 11:49 am
by rudy
I think that I read broadcast sends at the slowest speed so that any device can receive the information. I was interested in using broadcast for my application but I reconsidered because of this behavior.