2021-06-06 13:18:28 +00:00
|
|
|
#ifndef __APP_LIB_WIFI_IMPL_H
|
|
|
|
#define __APP_LIB_WIFI_IMPL_H
|
|
|
|
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
|
|
#include "freertos/task.h"
|
|
|
|
#include "freertos/event_groups.h"
|
|
|
|
|
|
|
|
extern EventGroupHandle_t g_wifi_event_group;
|
|
|
|
|
|
|
|
#define WIFI_CONNECTED_BIT BIT0
|
|
|
|
#define WIFI_ERROR_BIT BIT1
|
|
|
|
|
2021-06-07 16:54:03 +00:00
|
|
|
void app_lib_init_wifi(void);
|
2021-06-06 13:18:28 +00:00
|
|
|
void app_lib_start_wifi(void);
|
2021-06-07 16:54:03 +00:00
|
|
|
void app_lib_stop_wifi(void);
|
2021-06-06 13:18:28 +00:00
|
|
|
|
|
|
|
#endif
|