@@ -2,7 +2,9 @@
|
||||
#define _WIFI_INTERFACE_H_
|
||||
|
||||
#include "esp_netif_types.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/event_groups.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
// use wifi provisioning
|
||||
#define ENABLE_WIFI_PROVISIONING CONFIG_ENABLE_WIFI_PROVISIONING
|
||||
@@ -24,7 +26,7 @@
|
||||
#define WIFI_CONNECTED_BIT BIT0
|
||||
#define WIFI_FAIL_BIT BIT1
|
||||
|
||||
void wifi_init (void);
|
||||
esp_netif_t *get_current_netif (void);
|
||||
void wifi_init(void);
|
||||
esp_netif_t *get_current_netif(void);
|
||||
|
||||
#endif /* _WIFI_INTERFACE_H_ */
|
||||
|
||||
@@ -4,17 +4,13 @@
|
||||
|
||||
Must be taken over/merge with wifi provision
|
||||
*/
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/event_groups.h"
|
||||
#include "freertos/task.h"
|
||||
#include "wifi_interface.h"
|
||||
|
||||
// #include "esp_event.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_mac.h"
|
||||
#include "esp_wifi.h"
|
||||
#include "wifi_interface.h"
|
||||
|
||||
#if ENABLE_WIFI_PROVISIONING
|
||||
#include <string.h> // for memcpy
|
||||
|
||||
Reference in New Issue
Block a user