Author Topic: Required delay between packets  (Read 1357 times)

mah115

  • NewMember
  • *
  • Posts: 38
Required delay between packets
« 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.

Felix

  • Administrator
  • Hero Member
  • *****
  • Posts: 6867
  • Country: us
    • LowPowerLab
Re: Required delay between packets
« Reply #1 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).