nrfxlib API 3.3.99
Loading...
Searching...
No Matches
nrf_802154_ack_data.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "nrf_802154_types.h"
#include "mac_features/nrf_802154_frame.h"

Go to the source code of this file.

Data Structures

struct  nrf_802154_peer_ie_data_t
 Module that contains an ACK data generator for the nRF 802.15.4 radio driver. More...
 
struct  nrf_802154_peer_rec_t
 Information record about a peer. More...
 

Functions

void nrf_802154_ack_data_init (void)
 Initialize the ACK data generator module.
 
void nrf_802154_ack_data_enable (bool enabled)
 Enable or disable 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_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.
 
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.
 
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.
 
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.
 
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.
 
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.