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

◆ APP_EVENT_HOOK_PREPROCESS_REGISTER

#define APP_EVENT_HOOK_PREPROCESS_REGISTER (   hook_fn)     _APP_EVENT_HOOK_PREPROCESS_REGISTER(hook_fn, _APP_EM_SUBS_PRIO_ID(_APP_EM_SUBS_PRIO_NORMAL))

#include <include/app_event_manager.h>

Register event hook on the start of event processing.

The event hook called when the event is being processed. The hook function should have a form void hook(const struct app_event_header *aeh).

Parameters
hook_fnHook function.