13#include "../ksComponent.h"
14#include "../ksSimpleTimer.h"
28 ksApplication*
app{
nullptr};
ksf::ksSimpleTimer configTimeout
Timeout for captive portal in ms.
Definition ksWifiConfigurator.h:30
ksWifiConfigurator()
Constructs WiFi configurator object.
Definition ksWifiConfigurator.cpp:29
void handlePeriodicTasks()
Handles periodic tasks like WiFi management.
Definition ksWifiConfigurator.cpp:63
ksApplication * app
Pointer to ksApplication object that owns this component.
Definition ksWifiConfigurator.h:28
virtual ~ksWifiConfigurator()
Destructs WiFi configurator component.
Definition ksWifiConfigurator.cpp:77
bool loop(ksApplication *app) override
Handles ksWifiConfigurator logic.
Definition ksWifiConfigurator.cpp:69
ksf::ksSimpleTimer periodicTasksTimeout
Timeout for loop in ms.
Definition ksWifiConfigurator.h:31
bool init(ksApplication *app) override
Implements ksWifiConfigurator initialization logic.
Definition ksWifiConfigurator.cpp:44
std::string deviceName
Device name (prefix).
Definition ksWifiConfigurator.h:29
bool postInit(ksApplication *app) override
Implements ksWifiConfigurator post-initialization logic.
Definition ksWifiConfigurator.cpp:51
A class that is a base for user-defined application.
Definition ksApplication.h:43
Base component class.
Definition ksComponent.h:51
Simple timer class, without using component architecture.
Definition ksSimpleTimer.h:27