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_addr | Pointer to the address that is to be added to the list. |
[in] | extended | Indication if p_addr is an extended address or a short address. |
[in] | data_type | Type of data to be set. Refer to the nrf_802154_ack_data_t type. |
[in] | p_data | Pointer to the data to be set. |
[in] | data_len | Length of the p_data buffer. |
- Return values
-
true | Address successfully added to the list. |
false | Address not added to the list (list is full). |