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

◆ module_set_state()

static void module_set_state ( enum module_state  state)
inlinestatic

#include <include/caf/events/module_state_event.h>

Submit module state event to inform that state of the module changed.

ID of the module is automatically assigned based on name that is defined as MODULE.

Parameters
[in]stateNew state of the module.