nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ update_life_cycle_state()

int update_life_cycle_state ( enum bl_storage_lcs next_lcs)

#include <include/bl_storage.h>

Update the life cycle state in OTP.

Parameters
[in]next_lcsMust be the same or the successor state of the current one.
Return values
0Success.
-EREADLCSReading the current state failed.
-EINVALIDLCSInvalid next state.