35#ifndef NRF_802154_NOTIFICATION_H__
36#define NRF_802154_NOTIFICATION_H__
void(* nrf_802154_notification_func_t)(bool result)
Function type used for notifications from critical sections in the core module.
Definition: nrf_802154_notification.h:63
void nrf_802154_notify_cca(bool is_free)
Notifies the next higher layer that the CCA procedure ended.
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.
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_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_cca_failed(nrf_802154_cca_error_t error)
Notifies the next higher layer that the CCA procedure failed.
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_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_transmitted(uint8_t *p_frame, nrf_802154_transmit_done_metadata_t *p_metadata)
Notifies the next higher layer that a frame was transmitted.
uint8_t nrf_802154_ed_error_t
Possible errors during the energy detection.
Definition: nrf_802154_types.h:116
uint8_t nrf_802154_cca_error_t
Possible errors during the CCA procedure.
Definition: nrf_802154_types.h:123
uint8_t nrf_802154_rx_error_t
Possible errors during the frame reception.
Definition: nrf_802154_types.h:98
uint8_t nrf_802154_tx_error_t
Errors reported during the frame transmission.
Definition: nrf_802154_types.h:82
Structure that holds results of energy detection procedure.
Definition: nrf_802154_types.h:505