nRF Connect SDK API 0.1.0
|
int update_life_cycle_state | ( | enum 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. |