Embedded Wireless Framework
ewf_adapter_api_ntp.h
Go to the documentation of this file.
1 /************************************************************************/
11 #ifndef __ewf_adapter_ntp__h__included__
12 #define __ewf_adapter_ntp__h__included__
13 
14 #include "ewf_adapter.h"
15 #include "ewf_modem_types.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 /************************************************************************/
30 {
31  ewf_result(*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);
33 
44 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);
45 
46 /************************************************************************/
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif /* __ewf_adapter_ntp__h__included__ */
The Embedded Wireless Framework adapter API implementation.
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.
enum _ewf_result ewf_result
Success and error result codes specific to the EWF API.
Definition: ewf_adapter_api_ntp.h:30
Definition: ewf_adapter_api_modem_types.h:29
The EWF network adapter control structure definition.
Definition: ewf_adapter.h:50