WE310F5  39.00.000
M2MB_SNTP_INIT_PARAMS Struct Reference

SNTP initialization parameters. More...

#include <m2mb_sntp.h>

Data Fields

M2MB_SNTPC_APP_CB_T user_cb
 
void * user_ctx
 
UINT32 poll_interval
 

Detailed Description

SNTP initialization parameters.

Contains information needed to initialize the SNTP module, such as user callback, user context and poll interval.

Definition at line 266 of file m2mb_sntp.h.

Field Documentation

◆ poll_interval

UINT32 poll_interval

Continuous poll interval in seconds, and greater than or equals to 30 seconds. If poll_interval is set to 0 than server will be polled only once and SNTP module will be sopped once the callback receives M2MB_SNTPC_EVENT_SYSTEM_SYNC_DONE event.

Definition at line 270 of file m2mb_sntp.h.

◆ user_cb

Callback set by user.

Definition at line 268 of file m2mb_sntp.h.

◆ user_ctx

void* user_ctx

Pointer to a context set by user.

Definition at line 269 of file m2mb_sntp.h.


The documentation for this struct was generated from the following file: