Added some wifi code, not tested yet, but must be merged with master first for updates from there

This commit is contained in:
Matthias Mitscherlich
2023-01-13 14:51:45 +01:00
parent 2b58f0e8a0
commit d4328e8c68
4 changed files with 106 additions and 3693 deletions
+18
View File
@@ -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;
};
/** @} */