nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_802154_core_hooks_tx_setup()

bool nrf_802154_core_hooks_tx_setup ( uint8_t *  p_frame,
nrf_802154_transmit_params_t p_params,
nrf_802154_transmit_failed_notification_t  notify_function 
)

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

Processes hooks which are to fire before the transmission but after previous operation has been already terminated.

Parameters
[in]p_framePointer to a buffer that contains PHR and PSDU of the frame that is to be transmitted.
[in]p_paramsPointer to the transmission parameters.
[in]notify_functionFunction to be called to notify transmission failure.
Return values
trueFrame can be sent immediately.
falseHooks have handled the frame - upper layer should not worry about it anymore.