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

◆ APP_EVENT_MANAGER_HOOK_POSTINIT_REGISTER

#define APP_EVENT_MANAGER_HOOK_POSTINIT_REGISTER ( hook_fn)

#include <include/app_event_manager.h>

Value:
_APP_EVENT_MANAGER_HOOK_POSTINIT_REGISTER(hook_fn, \
_APP_EM_SUBS_PRIO_ID(_APP_EM_SUBS_PRIO_NORMAL))

Register event hook after the Application Event Manager is initialized.

The event hook called after the app_event_manager is initialized to provide some additional initialization of the modules that depends on it. The hook function should have a form int hook(void). If the initialization hook returns non-zero value the initialization process is interrupted.

Parameters
hook_fnHook function.