nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_gzll_set_max_tx_attempts()

void nrf_gzll_set_max_tx_attempts ( uint16_t  max_tx_attempts)

#include <gzll/include/nrf_gzll.h>

Set the maximum number of TX attempts that can be used for a single packet.

After the maximum number of attempts have been spent without receiving any ACK from the Host, the transmission will be terminated and the nrf_gzll_device_tx_failed() callback will be called. A zero value of the function parameter implies the infinite number of TX attempts.

Parameters
max_tx_attemptsThe maximum number of TX attempts.