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

◆ nrf_802154_security_pib_frame_counter_get_next()

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.

Parameters
[out]p_frame_counterPointer to the frame counter to populate.
[in]p_idPointer to the ID of the key to get the frame counter for.
Return values
NRF_802154_SECURITY_ERROR_NONEThe p_frame_counter field was successfully populated.
NRF_802154_SECURITY_ERROR_FRAME_COUNTER_OVERFLOWNo more available frame counters, they must be reset.
NRF_802154_SECURITY_ERROR_KEY_NOT_FOUNDThe associated key was not found.