Example of HTTPServer with additional features: * SNTPClient, DST rules * Link status indication * Local or SDCard-based WebServer * RPC-able class * Static and Dynamic HTML page
sntp.h
00001 #ifndef __SNTP_H__ 00002 #define __SNTP_H__ 00003 00004 void sntp_init(void); 00005 00006 // [iva2k] Plugging SYS_ 00007 #if NO_SYS 00008 void sntp_sys_timeout(u32_t timeout_ms, void (*func)(void *arg), void *arg); 00009 void sntp_sys_untimeout(void (*sntp_request)(void *arg), void *arg); 00010 #endif // NO_SYS 00011 00012 #undef sys_timeout 00013 #define sys_timeout sntp_sys_timeout 00014 00015 #undef sys_untimeout 00016 #define sys_untimeout sntp_sys_untimeout 00017 00018 #endif /* __SNTP_H__ */
Generated on Tue Jul 12 2022 17:12:14 by 1.7.2