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

◆ APP_EVENT_LISTENER

#define APP_EVENT_LISTENER ( lname,
cb_fn )

#include <include/app_event_manager.h>

Value:
_APP_EVENT_LISTENER(lname, cb_fn)
bool(* cb_fn)(const struct app_event_header *aeh)
Pointer to the event handler function.
Definition app_event_manager.h:40

Create an event listener object.

Parameters
lnameModule name.
cb_fnPointer to the event handler function.