nrfxlib API 2.8.99
Loading...
Searching...
No Matches
nrf_802154_notification.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "nrf_802154.h"
#include "nrf_802154_types.h"

Go to the source code of this file.

Typedefs

typedef void(* nrf_802154_notification_func_t) (bool result)
 Function type used for notifications from critical sections in the core module.
 

Functions

void nrf_802154_notification_init (void)
 Initializes the notification module.
 
void nrf_802154_notify_received (uint8_t *p_data, int8_t power, uint8_t lqi)
 Notifies the next higher layer that a frame was received.
 
bool nrf_802154_notify_receive_failed (nrf_802154_rx_error_t error, uint32_t id, bool allow_drop)
 Notifies the next higher layer that the reception of a frame failed.
 
void nrf_802154_notify_transmitted (uint8_t *p_frame, nrf_802154_transmit_done_metadata_t *p_metadata)
 Notifies the next higher layer that a frame was transmitted.
 
void nrf_802154_notify_transmit_failed (uint8_t *p_frame, nrf_802154_tx_error_t error, const nrf_802154_transmit_done_metadata_t *p_metadata)
 Notifies the next higher layer that a frame was not transmitted.
 
void nrf_802154_notify_energy_detected (const nrf_802154_energy_detected_t *p_result)
 Notifies the next higher layer that the energy detection procedure ended.
 
void nrf_802154_notify_energy_detection_failed (nrf_802154_ed_error_t error)
 Notifies the next higher layer that the energy detection procedure failed.
 
void nrf_802154_notify_cca (bool is_free)
 Notifies the next higher layer that the CCA procedure ended.
 
void nrf_802154_notify_cca_failed (nrf_802154_cca_error_t error)
 Notifies the next higher layer that the CCA procedure failed.