WINC1500 IoT Software APIs: m2m_wifi_set_sytem_time

WINC1500 IoT Software API

WINC1500 IoT Software APIs  19.5.2
WINC Software API Reference Manual
m2m_wifi_set_sytem_time

Functions

NMI_API sint8 m2m_wifi_set_sytem_time (uint32 u32UTCSeconds)
 

Detailed Description

Synchronous function for setting the system time in time/date format (uint32).
The tstrSystemTime structure can be used as a reference to the time values that should be set and pass its value as uint32

Function Documentation

◆ m2m_wifi_set_sytem_time()

NMI_API sint8 m2m_wifi_set_sytem_time ( uint32  u32UTCSeconds)
Parameters
[in]u32UTCSecondsSeconds elapsed since January 1, 1900 (NTP Timestamp).
See also
m2m_wifi_enable_sntp tstrSystemTime
Note
If there is an RTC on the host MCU, the SNTP could be disabled and the host should set the system time to the firmware using the API m2m_wifi_set_sytem_time.
Returns
The function returns M2M_SUCCESS for successful operations and a negative value otherwise.
Generated on Thu Jan 26 2017 22:15:21 for WINC1500 IoT Software APIs by   doxygen 1.8.13