|
Embedded Wireless Framework
|
NTP functions. More...
Data Structures | |
| struct | _ewf_adapter_api_modem_ntp |
Typedefs | |
| typedef struct _ewf_adapter_api_modem_ntp | ewf_adapter_api_modem_ntp |
Functions | |
| ewf_result | ewf_adapter_ntp_network_time_synchronize (ewf_adapter *adapter_ptr, const char *server_str, uint16_t port, uint8_t autoset, ewf_adapter_modem_time *time_info_ptr) |
| Synchronize time with NTP. More... | |
NTP functions.
| ewf_result ewf_adapter_ntp_network_time_synchronize | ( | ewf_adapter * | adapter_ptr, |
| const char * | server_str, | ||
| uint16_t | port, | ||
| uint8_t | autoset, | ||
| ewf_adapter_modem_time * | time_info_ptr | ||
| ) |
Synchronize time with NTP.
| [in] | adapter_ptr | A pointer to the adapter structure |
| [in] | server_str | String indicating NTP server URL |
| [in] | port | NTP server port |
| [in] | autoset | Integer, wheter to automatically set the synchronized time to local time |
| [out] | time_info_ptr | The time synchronized from NTP server if available in output URC |