mateos2 wrote:.take 50-100 UDP broadcasts of 150 bytes each in 50-100ms
But what is the problem. I'm confused.
We've agreed that these are objects with quite a lot of inertia, and certainly this applies to office spaces, one measurement per minute is perfectly adequate, for other devices let it be a few dozen seconds. That's how much time you have to react.
You don't mean to say that the stack is losing frames?
The ip stack should buffer tcp/ip frames until the application layer receives them, adding to the previous comment I don't see where the problem is. You just receive the tcp frames one at a time, discard every one as not carrying a change without parsing, fix the code for this function, you should be ok. It doesn't have to be an immediate response.
Added after 4 [minutes]: .
mateos2 wrote:.something is wrong with UDP frame buffering.
Parsing now takes 60 to 300us
300 microseconds x 100 frames is 30 msec. This is pretty good for an Arduino framework.