#pragma once typedef enum _SntpState { SYNC_SUCCESSFUL, SYNC_NOT_STARTED, SYNC_FAILED, } eSntpState; void initSntp(void); eSntpState getSntpState(void);