nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_auto_ack_set()

void nrf_802154_auto_ack_set ( bool enabled)

#include <nrf_802154/common/include/nrf_802154.h>

Enables or disables the automatic acknowledgments (auto ACK).

Note
The auto ACK is enabled by default.

If the auto ACK is enabled, the driver prepares and sends ACK frames automatically aTurnaroundTime (192 us) after the proper frame is received. The driver prepares an ACK frame according to the data provided by nrf_802154_ack_data_set. When the auto ACK is enabled, the driver notifies the next higher layer about the received frame after the ACK frame is transmitted. If the auto ACK is disabled, the driver does not transmit ACK frames. It notifies the next higher layer about the received frames when a frame is received. In this mode, the next higher layer is responsible for sending the ACK frame. ACK frames should be sent using nrf_802154_transmit.

Parameters
[in]enabledIf the auto ACK should be enabled.