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

◆ nrf_802154_security_pib_key_use()

nrf_802154_security_error_t nrf_802154_security_pib_key_use ( nrf_802154_key_id_t p_id,
void *  destination 
)

Uses the 802.15.4 MAC Security Key stored previously in the nRF 802.15.4 Radio Driver.

Parameters
[in]p_idPointer to the ID of the key to use.
[out]destinationDestination where the key must be copied. In case of hardware accelerated solutions this parameter is ignored.
Return values
NRF_802154_SECURITY_ERROR_NONEUsage of key is successful.
NRF_802154_SECURITY_ERROR_KEY_NOT_FOUNDFailed to use the key - no such key found.