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 lwdtc_opts.h file.

Note

Check Getting started to create configuration file.

group LWDTC_OPT

Default configuration setup.

Defines

LWDTC_MEMSET(dst, val, len)

Memory set function.

Note

Function footprint is the same as memset

LWDTC_CFG_GET_LOCALTIME(_struct_tm_ptr_, _const_time_t_ptr_)

Get the local time (struct tm) from the time_t pointer type.

Default implementation uses localtime but user may use gmtime or even create its own implementation, depending on the target system and overall wishes.

Parameters
  • <em>struct_tm_ptr</em>[in] Pointer variable to struct tm type. Variable is a pointer type and does not store actual time data.

  • <em>const_time_t_ptr</em>[in] Pointer to the time_t variable to get time from