mains-frequency-counter-stm32/cube/User/Inc/networkAbstractionLayer_impl.h

13 lines
343 B
C
Raw Normal View History

2021-02-16 11:44:51 +01:00
#ifndef _NETWORK_ABSTRACTION_LAYER_IMPL_H_
#define _NETWORK_ABSTRACTION_LAYER_IMPL_H_
#include <stdint.h>
2021-03-01 11:16:54 +01:00
#include <stdbool.h>
2021-02-16 11:44:51 +01:00
uint64_t networkSntpQuery();
int8_t networkUdpSend(char *hostname, uint16_t port, uint8_t *buf, uint16_t bufLen);
void networkImplInit();
2021-03-01 11:16:54 +01:00
bool isNetworkAvailable();
2021-02-19 21:21:08 +01:00
2021-02-16 11:44:51 +01:00
#endif /* _NETWORK_ABSTRACTION_LAYER_IMPL_H_ */