nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ esb_set_retransmit_count()

int esb_set_retransmit_count ( uint16_t  count)

#include <include/esb.h>

Set the number of retransmission attempts.

If the CONFIG_ESB_NEVER_DISABLE_TX Kconfig option is enabled, this is the delay between two consecutive transmissions. Depending on the reception processing time, a minimal value might be required (for example, a typical value for 32-bit payload is 20 µs).

Parameters
[in]countNumber of retransmissions.
Return values
0If successful. Otherwise, a (negative) error code is returned.