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

◆ nrf_lcs_set()

void nrf_lcs_set ( enum nrf_lcs new_lcs)

#include <include/nrf_lcs/nrf_lcs.h>

Set the Life Cycle State value.

Note
This function intentionally does not return a status code, to prevent this from potentially being used to control the flow of subsequent code. Instead, explicitly query with lcs_get to ensure that the Life Cycle State was updated.
Parameters
[in]new_lcsThe new Life Cycle State.