41#ifndef NRF_802154_ACK_DATA_H
42#define NRF_802154_ACK_DATA_H
#define NRF_802154_MAX_ACK_IE_SIZE
Definition nrf_802154_config.h:483
uint8_t nrf_802154_src_addr_match_t
Methods of source address matching.
Definition nrf_802154_types.h:197
uint8_t nrf_802154_ack_data_t
Types of data that can be set in an ACK message.
Definition nrf_802154_types.h:181
bool nrf_802154_peer_rec_write(const uint8_t *p_addr, bool extended, const nrf_802154_peer_rec_t *p_peer_rec)
Write a peer record for given peer addres to the peer table.
void nrf_802154_ack_data_init(void)
Initialize the ACK data generator module.
bool nrf_802154_peer_rec_get(const uint8_t *p_addr, bool extended, nrf_802154_peer_rec_t *p_peer_rec)
Retrieve a peer record for given peer address from the peer table.
bool nrf_802154_peer_rec_delete(const uint8_t *p_addr, bool extended)
Delete a peer record for given peer address from the peer table.
void nrf_802154_peer_table_clear(bool extended)
Delete all peer records from given peer table.
void nrf_802154_ack_data_enable(bool enabled)
Enable or disable the ACK data generator module.
void nrf_802154_ack_data_reset(bool extended, nrf_802154_ack_data_t data_type)
Remove all addresses of a given length from the ACK data list.
bool nrf_802154_ack_data_for_addr_clear(const uint8_t *p_addr, bool extended, nrf_802154_ack_data_t data_type)
Remove an address from the ACK data list.
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)
Add an address to the ACK data list.
void nrf_802154_ack_data_src_addr_matching_method_set(nrf_802154_src_addr_match_t match_method)
Select the source matching algorithm.
bool nrf_802154_ack_data_pending_bit_should_be_set(const nrf_802154_frame_t *p_frame_data, const nrf_802154_peer_rec_t *p_peer_rec)
Check if a pending bit is to be set in the ACK frame sent in response to a given frame.
Definition nrf_802154_frame.h:139
uint8_t len
Definition nrf_802154_ack_data.h:54
Module that contains an ACK data generator for the nRF 802.15.4 radio driver.
Definition nrf_802154_ack_data.h:52
bool pending_bit
Pending bit to be set for ACK frames sent back to given peer.
Definition nrf_802154_ack_data.h:61
nrf_802154_peer_ie_data_t ie_data
IE data generated for the peer.
Definition nrf_802154_ack_data.h:63
Information record about a peer.
Definition nrf_802154_ack_data.h:59