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

◆ app_event_manager_event_size()

static size_t app_event_manager_event_size ( const struct app_event_header * aeh)
inlinestatic

#include <include/app_event_manager.h>

Get the event size.

Function that calculates the event size using its header.

Note
For this function to be available the
CONFIG_APP_EVENT_MANAGER_PROVIDE_EVENT_SIZE 
option needs to be enabled.
Parameters
aehPointer to the application event header.
Returns
Event size in bytes.