![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | p_params | Pointer to the transmission parameters. |
| NRF_802154_TX_ERROR_NONE | The procedure was succesful. |
| NRF_802154_TX_ERROR_KEY_ID_INVALID | The requested key was not found. |
| NRF_802154_TX_ERROR_FRAME_COUNTER_ERROR | The frame counter overflowed. |