This commit is contained in:
2021-02-07 18:35:30 +01:00
parent 6f4c8b5385
commit 198edaba6d
4 changed files with 37 additions and 12 deletions

View File

@ -7,9 +7,18 @@
#define NTP_SERVER "0.de.pool.ntp.org"
typedef struct {
uint64_t seconds;
uint32_t missedUpdates;
bool valid;
} t_seconds;
int wizInit();
bool isNetworkAvailable();
uint8_t* wizGetIPAddress();
bool wizDnsQuery(char *name, uint8_t *ip);
t_seconds* wizGetSeconds();
#endif // _WIZHELPER_H_