esp32-wifi-manager/main/esp32-wifi-manager.c

32 lines
578 B
C

#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
#include "esp_heap_caps.h"
#include "driver/gpio.h"
#include "driver/spi_common.h"
#include "driver/spi_master.h"
typedef struct wifi_man_ap_info {
} wifi_man_ap_info_t;
static struct wifi_man_ap_store {
uint8_t count;
struct wifi_man_ap_info aps[CONFIG_WIFI_MANAGER_MAX_AP];
} wifi_man_ap_store;
void wifi_man_init_config() {
memset(&wifi_man_ap_store, 0, sizeof(struct wifi_man_ap_store));
}
int wifi_man_load_config() {
uint8_t count = 0;
return count;
};