1.1.28 Client - System Time APIs

The WINCS02 device maintains a local system time. This can be set either by the host through this API or via the SNTP Client when connected to a Wi-Fi network.

To manually set the system time the host can call WDRV_WINC_SystemTimeSetCurrent with a UTC time value based on the Unix epoch date of 01/01/1970 00:00:00.

To request the system time the host can call WDRV_WINC_SystemTimeGetCurrent with a WDRV_WINC_SYSTIME_CURRENT_CALLBACK callback which will receive the current system time. Once set this callback will continue to receive any updates to the system time, for example via SNTP.