Firmware  0.0.0
Loading...
Searching...
No Matches
wifi Namespace Reference

Namespaces

namespace  anonymous_namespace{init.cpp}
 
namespace  anonymous_namespace{task_function.cpp}
 

Classes

struct  ApRecordsQueue
 
struct  Task
 

Functions

std::string mac_str (2uz *6uz+5uz+sizeof('\n'), '\0')
 
esp_err_t init (BaseType_t xCoreID)
 Initialize either.
 
void task_function (void *)
 

Variables

constexpr auto led_gpio_num {GPIO_NUM_47}
 
std::string mdns_str
 
std::string ip_str
 
std::array< uint8_t, 6uz > mac
 
struct wifi::ApRecordsQueue ap_records_queue
 
struct wifi::Task task
 

Function Documentation

◆ init()

esp_err_t wifi::init ( BaseType_t xCoreID)
  • AP (access point) if NVS doesn't contain SSID/pass or GPIO2 is high
  • STA (station) if NVS contains SSID/pass and GPIO is low

◆ mac_str()

std::string wifi::mac_str ( 2uz *6uz+5uz+ sizeof'\n',
'\0'  )
inline

◆ task_function()

void wifi::task_function ( void * )
Todo
document

Variable Documentation

◆ ap_records_queue

struct wifi::ApRecordsQueue wifi::ap_records_queue

◆ ip_str

std::string wifi::ip_str
inline

◆ led_gpio_num

auto wifi::led_gpio_num {GPIO_NUM_47}
inlineconstexpr

◆ mac

std::array<uint8_t, 6uz> wifi::mac
inline

◆ mdns_str

std::string wifi::mdns_str
inline

◆ task

struct wifi::Task wifi::task