mn_basic_wifi_net_if.hpp
Go to the documentation of this file.
Wrapper class around esp-idf implementation of a esp-netif device.
Definition: mn_basic_netif.hpp:33
Wrapper basic WiFi class around esp-idf implementation of a esp-netif device.
Definition: mn_basic_wifi_net_if.hpp:40
virtual bool create_default(void)
Set the hostname.
Definition: mn_basic_wifi_net_if.cpp:35
wifi_protocol
list of the wifi protocols
Definition: mn_basic_wifi_net_if.hpp:45
esp_interface_t m_ifInterface
NET_IF intarface of the device.
Definition: mn_basic_wifi_net_if.hpp:130
wifi_ps_type_t get_power_save_mode()
Get current WiFi power save type.
Definition: mn_basic_wifi_net_if.cpp:84
const char * get_ssid(char ssid[32])
Get the ssid for the wifi.
Definition: mn_basic_wifi_net_if.cpp:47
esp_interface_t & get(void)
get the type of the interface
Definition: mn_basic_wifi_net_if.cpp:70
basic_wifi_net_if(const esp_interface_t &type) noexcept
Construt.
Definition: mn_basic_wifi_net_if.cpp:29
wifi_mode_t get_mode(void)
Get current operating mode of WiFi.
Definition: mn_basic_wifi_net_if.cpp:63
int set_protocol(const wifi_protocol &prot=wifi_protocol::bgn)
Set protocol type of specified interface The default protocol is (WIFI_PROTOCOL_11B|WIFI_PROTOCOL_11G...
Definition: mn_basic_wifi_net_if.cpp:93
wifi_protocol get_protocol()
Get the current protocol bitmap.
Definition: mn_basic_wifi_net_if.cpp:115
int set_power_save_mode(const wifi_ps_type_t mode)
Set current WiFi power save type.
Definition: mn_basic_wifi_net_if.cpp:77
struct mn::memory::detail::ptr_difference type
Definition: mn_allocator_typetraits.hpp:25