LowPowerLab Forum

Hardware support => Moteino M0 => Topic started by: mah115 on February 21, 2019, 03:47:10 AM

Title: Required delay between packets
Post by: mah115 on February 21, 2019, 03:47:10 AM
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.
Title: Re: Required delay between packets
Post by: Felix on February 21, 2019, 09:14:53 AM
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).