nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_802154_security_writer_tx_setup()

nrf_802154_tx_error_t nrf_802154_security_writer_tx_setup ( nrf_802154_transmit_params_t * p_params)

Transmission setup hook for the security writer module.

This hook checks availability of the key identified by the frame's security header and injects a frame counter associated with the key. If the frame's security level is zero, then no processing occurs.

If the key requested in the frame is not found, the procedure returns an error.

Parameters
[in]p_paramsPointer to the transmission parameters.
Return values
NRF_802154_TX_ERROR_NONEThe procedure was succesful.
NRF_802154_TX_ERROR_KEY_ID_INVALIDThe requested key was not found.
NRF_802154_TX_ERROR_FRAME_COUNTER_ERRORThe frame counter overflowed.