network abstraction, time handling

This commit is contained in:
2021-02-16 11:01:01 +01:00
parent bfbcc309df
commit dfce60e01f
5 changed files with 73 additions and 61 deletions

View File

@ -5,18 +5,12 @@
#include <stdint.h>
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();
uint64_t wizSntpQuery();
#endif // _WIZHELPER_H_