mirror of
https://git.aixiao.me/aixiao/Danger-alarm.git
synced 2025-07-29 19:13:39 +08:00
27 lines
403 B
C
27 lines
403 B
C
#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
|