nrfxlib API 0.1.0
|
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.
[in] | p_id | Pointer to the ID of the key to use. |
[out] | destination | Destination where the key must be copied. In case of hardware accelerated solutions this parameter is ignored. |
NRF_802154_SECURITY_ERROR_NONE | Usage of key is successful. |
NRF_802154_SECURITY_ERROR_KEY_NOT_FOUND | Failed to use the key - no such key found. |