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

◆ update_life_cycle_state()

int update_life_cycle_state ( enum 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.