26 lines
461 B
C
26 lines
461 B
C
#ifndef WIFI_FINISTRC
|
|
#define WIFI_FINISTRC
|
|
|
|
#include "bsp.h"
|
|
|
|
#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"
|
|
|
|
typedef enum {
|
|
NETWORKBATEAU,
|
|
NETWORKVOITURE
|
|
} networkType_t;
|
|
|
|
void wifi_init_sta(uint32_t networkConfig);
|
|
|
|
#endif |