Documentation
Includes
lwip/apps/sntp_opts.h
#include "lwip/apps/sntp_opts.h"
lwip/ip_addr.h
#include "lwip/ip_addr.h"
Macros
Marco LWIP_HDR_APPS_SNTP_H
#define LWIP_HDR_APPS_SNTP_H
Marco SNTP_OPMODE_POLL
#define SNTP_OPMODE_POLL 0
Marco SNTP_OPMODE_LISTENONLY
#define SNTP_OPMODE_LISTENONLY 1
Marco sntp_servermode_dhcp
#define sntp_servermode_dhcp(x)
Functions
Func sntp_setoperatingmode
void sntp_setoperatingmode(u8_t operating_mode);
Func sntp_getoperatingmode
u8_t sntp_getoperatingmode(void);
Func sntp_init
void sntp_init(void);
Func sntp_stop
void sntp_stop(void);
Func sntp_enabled
u8_t sntp_enabled(void);
Func sntp_setserver
void sntp_setserver(u8_t idx, const ip_addr_t *addr);
Func sntp_getreachability
u8_t sntp_getreachability(u8_t idx);
Func sntp_setservername
void sntp_setservername(u8_t idx, const char *server);
Func sntp_servermode_dhcp
void sntp_servermode_dhcp(int set_servers_from_dhcp);
Vars
Consts
Const
const ip_addr_t* sntp_getserver(u8_t idx);
Const
const char *sntp_getservername(u8_t idx);
Types
Typedefs