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

◆ read_life_cycle_state()

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,.

Parameters
[out]lcsWill be set to the current LCS the device is in
Return values
0The LCS read was successful.
-EREADLCSError on reading from OTP or invalid OTP content.