fixes that made it work
This commit is contained in:
@@ -1,11 +1,25 @@
|
||||
#ifndef ESP_WIFI_BSP_H
|
||||
#define ESP_WIFI_BSP_H
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/queue.h"
|
||||
#include "esp_wifi.h" //WIFI
|
||||
|
||||
void espwifi_Init(void);
|
||||
#include <freertos/FreeRTOS.h>
|
||||
#include <freertos/event_groups.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#define WIFI_CONNECTED_BIT BIT0
|
||||
#define WIFI_DISCONNECTED_BIT BIT1
|
||||
|
||||
void wifi_sta_init(void);
|
||||
bool wifi_sta_wait_connected(uint32_t timeout_ms);
|
||||
bool wifi_sta_is_connected(void);
|
||||
EventGroupHandle_t wifi_sta_get_event_group(void);
|
||||
void wifi_sta_get_ip_str(char *buf, size_t len);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user