mn_wifi.hpp
Go to the documentation of this file.
97 virtual void on_wifi_event(esp_event_base_t event_base, int32_t event_id, void* event_data) { return; }
98 virtual void on_ip_event(esp_event_base_t event_base, int32_t event_id, void* event_data) { return; }
100 static void _wifi_event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
101 static void _ip_event_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
Wrapper class around FreeRTOS's implementation of a event_group.
Definition: mn_eventgroup.hpp:35
Wrapper basic WiFi class around esp-idf implementation of a esp-netif device.
Definition: mn_basic_wifi_net_if.hpp:40
int startup(wifi_init_config_t *cfg, wifi_storage_t storage=WIFI_STORAGE_RAM)
start the wifi system and set the config.
Definition: mn_wifi.cpp:53
virtual void on_wifi_event(esp_event_base_t event_base, int32_t event_id, void *event_data)
Definition: mn_wifi.hpp:97
virtual void on_ip_event(esp_event_base_t event_base, int32_t event_id, void *event_data)
Definition: mn_wifi.hpp:98
basic_wifi(const interface_t &type)
Construct this object.
Definition: mn_wifi.cpp:37
static void _wifi_event_handler(void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data)
Definition: mn_wifi.cpp:98
int unregist()
Deregister the wifi_event and ip_event.
Definition: mn_wifi.cpp:86
@ WPA_WPA2_PSK
@ WPA2_ENTERPRISE
static void _ip_event_handler(void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data)
Definition: mn_wifi.cpp:108
This file is part of the Mini Thread Library (https://github.com/RoseLeBlood/MiniThread ).
struct mn::memory::detail::ptr_difference type
Definition: mn_allocator_typetraits.hpp:25