Added some wifi code, not tested yet, but must be merged with master first for updates from there
This commit is contained in:
@@ -34,7 +34,13 @@
|
||||
|
||||
// CompilerIncludes
|
||||
// All include files that are provided by the compiler directly
|
||||
#include "esp_system.h"
|
||||
#include "esp_event.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "freertos/event_groups.h"
|
||||
|
||||
|
||||
// ProjectIncludes
|
||||
@@ -56,7 +62,19 @@
|
||||
// Function declarations
|
||||
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
class Wifi
|
||||
{
|
||||
public:
|
||||
|
||||
Wifi(void);
|
||||
|
||||
void start_client(void);
|
||||
|
||||
void event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
|
||||
|
||||
private:
|
||||
EventGroupHandle_t s_wifi_event_group;
|
||||
};
|
||||
|
||||
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user