nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_802154_notify_receive_failed()

bool nrf_802154_notify_receive_failed ( nrf_802154_rx_error_t error,
uint32_t id,
bool allow_drop )

#include <nrf_802154/driver/src/nrf_802154_notification.h>

Notifies the next higher layer that the reception of a frame failed.

Parameters
[in]errorError code that indicates the reason of the failure.
[in]idIdentifier of reception window the error occurred in. If the error is related to a delayed reception window requested through nrf_802154_receive_at, the value of id equals the identifier of the scheduled reception window. Otherwise, the value of id equals NRF_802154_RESERVED_IMM_RX_WINDOW_ID.
[in]allow_dropIndicates if the notification can be dropped safely.
Return values
trueThe next higher layer is bound to be notified about the frame reception failure.
falseNotification could not be executed.