nrfxlib API 0.1.0
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_parser.h"

Go to the source code of this file.

Functions

void nrf_802154_ack_data_init (void)
 Module that contains an ACK data generator for the nRF 802.15.4 radio driver.
 
void nrf_802154_ack_data_enable (bool enabled)
 Enables or disables the ACK data generator module.
 
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.
 
bool nrf_802154_ack_data_for_addr_clear (const uint8_t *p_addr, bool extended, nrf_802154_ack_data_t data_type)
 Removes an address from the ACK data list.
 
void nrf_802154_ack_data_reset (bool extended, nrf_802154_ack_data_t data_type)
 Removes 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_parser_data_t *p_frame_data)
 Checks if a pending bit is to be set in the ACK frame sent in response to a given frame.
 
const uint8_t * nrf_802154_ack_data_ie_get (const uint8_t *p_src_addr, bool src_addr_ext, uint8_t *p_ie_length)
 Gets the IE data stored in the list for the source address of the provided frame.