mains-frequency-counter-stm32/cube/User/Src/networkAbstractionLayer_wifi.c

23 lines
453 B
C
Raw Normal View History

2021-02-16 13:00:10 +01:00
#include <networkAbstractionLayer_impl.h>
#include <logger.h>
2021-02-18 17:32:15 +01:00
#include <utils.h>
2021-02-16 13:00:10 +01:00
#include <stdint.h>
uint64_t networkSntpQuery() {
return 0;
}
int8_t networkUdpSend(char *hostname, uint16_t port, uint8_t *buf, uint16_t bufLen) {
return 0;
}
void networkImplInit() {
2021-02-18 17:32:15 +01:00
HAL_GPIO_WritePin(MODEM_RES_GPIO_Port, MODEM_RES_Pin, GPIO_PIN_RESET);
2021-02-18 17:33:42 +01:00
activeDelay(255);
2021-02-18 17:32:15 +01:00
HAL_GPIO_WritePin(MODEM_RES_GPIO_Port, MODEM_RES_Pin, GPIO_PIN_SET);
2021-02-16 13:00:10 +01:00
}