mirror of
https://git.aixiao.me/aixiao/Danger-alarm.git
synced 2025-07-29 19:13:39 +08:00
测试WIFI TCP
This commit is contained in:
26
SOFTWARE/Source/WIFI.h
Normal file
26
SOFTWARE/Source/WIFI.h
Normal 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
|
||||
Reference in New Issue
Block a user