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