18 lines
364 B
C
18 lines
364 B
C
#ifndef APP_WIFI_H
|
|
#define APP_WIFI_H
|
|
|
|
/* ESP drivers */
|
|
#include "esp_system.h"
|
|
|
|
/* FreeRTOS */
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/event_groups.h"
|
|
|
|
#define APP_WIFI_EVENT_GROUP_EVENT_CONNECTED (1 << 0U)
|
|
#define APP_WIFI_EVENT_GROUP_EVENT_FAILED (1 << 1U)
|
|
|
|
extern EventGroupHandle_t g_app_wifi_event_group;
|
|
|
|
esp_err_t app_wifi_init(void);
|
|
|
|
#endif |