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

◆ nrf_802154_ack_data_clear()

bool nrf_802154_ack_data_clear ( const uint8_t *  p_addr,
bool  extended,
nrf_802154_ack_data_t  data_type 
)

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

Removes the address of a peer node for which the ACK data is set from the pending bit list.

The ACK data that was previously set for the given address is automatically removed.

The pending bit list works differently, depending on the upper layer for which the source address matching method is selected:

The method can be set during initialization phase by calling nrf_802154_src_addr_matching_method_set.

Parameters
[in]p_addrArray of bytes containing the address of the node (little-endian).
[in]extendedIf the given address is an extended MAC address or a short MAC address.
[in]data_typeType of data to be removed. Refer to the nrf_802154_ack_data_t type.
Return values
TrueAddress removed from the list.
FalseAddress not found in the list.