Required delay between packets

Started by mah115, February 21, 2019, 03:47:10 AM

mah115

I noticed that if I send packets too quickly, they can get dropped (using send() without retries).  I was wondering if there is a way to calculate what the required delay between packet transmissions are.

Felix

Do a digitalWrite(HIGH/LOW) before/after the send. Then look at it on the scope, calculate time delta. That's your answer. Of course if message is long, then take the longest delta (for longest packet).