esp32c3-usb_serial/main/wifi/wifi_task.h
2025-03-15 22:17:12 +08:00

34 lines
648 B
C

#ifndef WIFI_TASK_H
#define WIFI_TASK_H
#include "stdio.h"
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "esp_check.h"
#include "freertos/queue.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "freertos/event_groups.h"
#include "esp_mac.h"
#include "nvs_flash.h"
#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include <lwip/netdb.h>
#include "sdkconfig.h"
#include "driver/uart.h"
#define MIN(a, b) ((a) < (b) ? (a) : (b))
void wifi_init_station(void);
void wifi_init_softap(void);
esp_err_t start_web_server(void);
#endif