FluxDC/components/FluxWifi/FluxWifi.h

29 lines
682 B
C
Raw Normal View History

2025-03-10 18:07:34 +08:00
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "lwip/err.h"
#include "lwip/sys.h"
#define DEFAULT_SCAN_LIST_SIZE 10
extern wifi_ap_record_t ap_info[DEFAULT_SCAN_LIST_SIZE];
extern int number;
extern int ap_count;
2025-03-10 18:07:34 +08:00
static void print_wifi_scan_result(uint16_t ap_count, uint16_t number);
static void print_cipher_type(int pairwise_cipher, int group_cipher);
static void print_auth_mode(int authmode);
static void get_wifi_scan_result(void);
void wifi_scan(void);
void wifi_scanInit(void);
2025-03-10 18:07:34 +08:00