![]() |
nRF Connect SDK API 3.3.99
|
| int read_life_cycle_state | ( | enum bl_storage_lcs * | lcs | ) |
#include <include/bl_storage.h>
Read the current life cycle state the device is in from OTP,.
| [out] | lcs | Will be set to the current LCS the device is in |
| 0 | The LCS read was successful. |
| -EREADLCS | Error on reading from OTP or invalid OTP content. |