![]() |
nRF Connect SDK API 3.3.99
|
| int update_life_cycle_state | ( | enum bl_storage_lcs | next_lcs | ) |
#include <include/bl_storage.h>
Update the life cycle state in OTP.
| [in] | next_lcs | Must be the same or the successor state of the current one. |
| 0 | Success. |
| -EREADLCS | Reading the current state failed. |
| -EINVALIDLCS | Invalid next state. |