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

◆ nrf_802154_ack_data_for_addr_set()

bool nrf_802154_ack_data_for_addr_set ( const uint8_t *  p_addr,
bool  extended,
nrf_802154_ack_data_t  data_type,
const void *  p_data,
uint8_t  data_len 
)

Adds an address to the ACK data list.

ACK frames sent in response to frames with the source address matching any address from the ACK data list will have the appropriate data set. If the source address does not match any of the addresses in the list, the ACK frame will not have the data set.

Parameters
[in]p_addrPointer to the address that is to be added to the list.
[in]extendedIndication if p_addr is an extended address or a short address.
[in]data_typeType of data to be set. Refer to the nrf_802154_ack_data_t type.
[in]p_dataPointer to the data to be set.
[in]data_lenLength of the p_data buffer.
Return values
trueAddress successfully added to the list.
falseAddress not added to the list (list is full).