nrfxlib API 0.1.0
|
nrf_802154_security_error_t nrf_802154_security_pib_frame_counter_get_next | ( | uint32_t * | p_frame_counter, |
nrf_802154_key_id_t * | p_id | ||
) |
Get the next 802.15.4 global frame counter.
[out] | p_frame_counter | Pointer to the frame counter to populate. |
[in] | p_id | Pointer to the ID of the key to get the frame counter for. |
NRF_802154_SECURITY_ERROR_NONE | The p_frame_counter field was successfully populated. |
NRF_802154_SECURITY_ERROR_FRAME_COUNTER_OVERFLOW | No more available frame counters, they must be reset. |
NRF_802154_SECURITY_ERROR_KEY_NOT_FOUND | The associated key was not found. |