nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_802154_auto_pending_bit_set()

void nrf_802154_auto_pending_bit_set ( bool  enabled)

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

Enables or disables setting a pending bit in automatically transmitted ACK frames.

Note
Setting a pending bit in automatically transmitted ACK frames is enabled by default.

The radio driver automatically sends ACK frames in response frames destined for this node with the ACK Request bit set. The pending bit in the ACK frame can be set or cleared regarding data in the indirect queue destined for the ACK destination.

If setting a pending bit in ACK frames is disabled, the pending bit in every ACK frame is set. If setting a pending bit in ACK frames is enabled, the radio driver checks if there is data in the indirect queue destined for the ACK destination. If there is no such data, the pending bit is cleared.

Note
Due to the ISR latency, the radio driver might not be able to verify if there is data in the indirect queue before ACK is sent. In this case, the pending bit is set.
Parameters
[in]enabledIf setting a pending bit in ACK frames is enabled.