测试WIFI TCP

This commit is contained in:
2024-11-10 21:36:07 +08:00
parent e280004ddd
commit d85cdffa6f
5 changed files with 302 additions and 12 deletions

26
SOFTWARE/Source/WIFI.h Normal file
View File

@@ -0,0 +1,26 @@
#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"
#define TEST_TCP_SERVER_IP "192.168.9.90"
#define TCP_PORT 91
#define DEBUG_printf printf
#define BUF_SIZE 2048
#define TEST_ITERATIONS 10
#define POLL_TIME_S 5
extern void run_tcp_client_test(void);
#endif