7#include "utility/logger.h"
9#if PICO_HTTP_ENABLE_LITTLEFS
28 printf(
"[AppContext] Initializing framework services...\n");
29 #if PICO_HTTP_ENABLE_LITTLEFS
30 TRACE(
"[AppContext] Initializing LittleFS storage manager.\n");
33 TRACE(
"[AppContext] LittleFS storage manager registered.\n");
36 TRACE(
"[AppContext] Registered JsonService.\n");
43 TRACE(
"[AppContext] Registered FatFsStorageManager.\n");
48 TRACE(
"[AppContext] Registered TimeManager.\n");
52 TRACE(
"[AppContext] Registered EventManager.\n");
56 TRACE(
"[AppContext] Registered TimerService.\n");
59 TRACE(
"[AppContext] Registered Logger.\n");
60 #if defined(ENABLE_GPIO_EVENTS)
63 TRACE(
"[AppContext] Registered GpioEventManager.\n");
66 #if PICO_HTTP_ENABLE_JWT
69 TRACE(
"[AppContext] Registered JwtAuthenticator.\n");
Macro-based debug trace system with optional SD file logging.
#define TRACE_INIT(MODULE_NAME)
Declare trace usage in a source file for a given module.
#define TRACE(...)
Default trace (INFO level).
Event pub/sub manager for embedded applications using FreeRTOS.
FatFs-based implementation of the StorageManager interface for SD card access.
Posts GPIO change events (rising/falling edge) via EventManager.
Lightweight JSON wrapper for persistent config management using StorageManager.
Stateless singleton class for creating and validating JWTs using HMAC-SHA256.
Flash-backed implementation of the StorageManager interface using LittleFS.
Time-of-day and interval-based scheduler for embedded events.
static SemaphoreHandle_t mutex
static AppContext & getInstance()
void initFrameworkServices()
static constexpr std::uintptr_t getTypeKey()
Manages the system-wide event queue and subscriptions.
Concrete implementation of StorageManager using FatFs.
GpioEventManager registers interrupts and posts GpioChange events to multiple listeners per pin.
static GpioEventManager & getInstance()
Get the singleton instance of GpioEventManager.
Manages loading and saving of a single JSON document using StorageManager.
JWT JwtAuthenticator for embedded applications.
A LittleFS-based implementation of StorageManager, storing files in flash memory.
Basic timestamped logger with optional SD file logging.
Central service for time-driven scheduling of framework events.
Delegates to user or system configuration.