NRF24L01 question with radio.setRetries

This is question is intended for Robin2, who has weathered my great incompetence. Thanks man!

This'll be quick: For my quadcopter, what are the best setRetries values. I need to quad to react quickly, I would assume the best values are (1, 15) with a short delay and max set of retries.

Thanks in advance, and hopefully it's Robin who answers this.

I don't think you can answer that question without considering what might be causing the failure and what will happen if all the retries fail.

If the cause of the failure is interference from something else then a longer delay - to allow time for that interference to stop - would probably be a good idea.

If the cause of the failure is a another 2.4GHz device which also has max retries enabled then when you have lots of retries the two devices will continue to interfere with each other. It would be better to retire from the bout early and make a separate try a little later.

If the cause of the failure is because you are at the limit of the wireless range then lots of retries might be a good idea. But really the only answer to that is to stay within range.

And then you need to decide how many complete failures you can accommodate without having a disaster.

...R

As always, sir, you never fail to disappoint!

The modules stop sending/receiving data once the retry function fails, right?

If the cause of the failure is a another 2.4GHz device which also has max retries enabled then when you have lots of retries the two devices will continue to interfere with each other. It would be better to retire from the bout early and make a separate try a little later.

Are you referring to both the TX and RX having the same retry vals?

I guess it's all trial and error...

JeromeAriola:
The modules stop sending/receiving data once the retry function fails, right?

They stop re-trying when the acknowledgement is received or the number of retries is exceeded.

If the cause of the failure is a another 2.4GHz device which also has max retries enabled then when you have lots of retries the two devices will continue to interfere with each other. It would be better to retire from the bout early and make a separate try a little later.

Are you referring to both the TX and RX having the same retry vals?

I don't understand what you had in mind when you asked that question. My comment was about a completely un-related 2.4Ghz device that just happened to be operating at the same time as yours - a WiFi or Bluetooth device, or some other person's nRF24.

...R