basic of display management. Backend to register and give image for the device. front end to manage displays etc.

This commit is contained in:
2026-03-15 11:07:09 -04:00
parent 46dfe82568
commit baa0a8b1ba
14 changed files with 712 additions and 2 deletions

17
Provider/main/device.hpp Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include <cstring>
#include "types.hpp"
constexpr int MAX_DEVICES = 8;
constexpr int DEVICE_XML_MAX = 2048;
struct device_t
{
char mac[18]; // "AA:BB:CC:DD:EE:FF\0"
bool active; // Slot in use
char xml_layout[DEVICE_XML_MAX]; // LVGL XML string for the current screen
};
internal device_t g_Devices[MAX_DEVICES] = {};