nRF Connect SDK API 2.8.0
|
#define APP_EVENT_HOOK_PREPROCESS_REGISTER_LAST | ( | hook_fn | ) |
#include <include/app_event_manager.h>
Register event hook on the start of event processing. The hook would be called last.
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)
. The macro makes sure that the hook provided here is called last. Only one hook can be registered with this macro.
hook_fn | Hook function. |