Danger-alarm/SOFTWARE/Source/WIFI.h

26 lines
420 B
C
Raw Normal View History

2024-11-10 21:36:07 +08:00
#ifndef WIFI_H
#define WIFI_H
#include <string.h>
#include <string.h>
#include <time.h>
#include "pico/stdlib.h"
#include "pico/cyw43_arch.h"
#include "lwip/pbuf.h"
#include "lwip/tcp.h"
2024-11-11 17:37:06 +08:00
#include "lwip/dns.h"
2024-11-10 21:36:07 +08:00
2024-11-11 17:37:06 +08:00
#define TEST_TCP_SERVER_IP "192.168.31.17"
2024-11-10 21:36:07 +08:00
#define TCP_PORT 91
#define BUF_SIZE 2048
#define TEST_ITERATIONS 10
#define POLL_TIME_S 5
2024-11-12 10:36:32 +08:00
#define DEBUG_printf printf
2024-11-10 21:36:07 +08:00
2024-11-12 10:36:32 +08:00
void run_tcp_client_test(char *s);
2024-11-10 21:36:07 +08:00
#endif