18#ifndef FRAMEWORK_MANAGER_H
19#define FRAMEWORK_MANAGER_H
27#define NETWORK_STACK_SIZE 2048 / sizeof(StackType_t)
28#define APPLICATION_STACK_SIZE 1024 / sizeof(StackType_t)
The FrameworkController class for event-driven control logic in embedded applications.
Manages Wi-Fi initialization, connection status, and power management for Pico W.
Base class for applications using the framework.
Base class for event-driven control logic in embedded applications.
Router & router
Handles path-to-handler mapping - reference to shared Router instance.
Starts and coordinates core system services like networking and time sync.
void onEvent(const Event &event)
Handles events posted to the FrameworkManager.
TaskHandle_t applicationTaskHandle
(Unused) optional handle for app task
TaskHandle_t networkTaskHandle
Handle for the network task.
void poll()
Polling function for the FrameworkManager.
FrameworkApp * app
Pointer to the application task.
void setupTraceFromConfig()
Sets up debug tracing from configuration.
static void app_task(void *params)
Placeholder for an application-level task, if used.
void onStart()
Initializes the network and application tasks.
Network network
Network management.
Static class providing Wi-Fi and network control on the Pico W.
The central router for handling HTTP requests and middleware.
Represents a framework event, optionally carrying payload data.