Configuration
This is the default configuration of the middleware.
When any of the settings shall be modified, it shall be done in dedicated application config lwevt_opts.h
file.
Note
Check Getting started for guidelines on how to create and use configuration file.
- group LWEVT_OPT
Default configuration setup.
Defines
-
LWEVT_MEMSET(dst, val, len)
Memory set function.
Note
Function footprint is the same as memset
-
LWEVT_CFG_MAX_EVT_LISTENERS
Maximum number of event listeners that can receive info on event dispatch.
It defines size of array for function pointers
-
LWEVT_CFG_ENABLE_DEFAULT_HANDLE
Enables
1
or disables0
creation of default event handle.When enabled, user can use lwevt_get_handle and lwevt_dispatch functions to operate on defualt handle.
When disabled, user must create event handle before every dispatch, and is only able to use lwevt_dispatch_ex function
-
LWEVT_MEMSET(dst, val, len)