#pragma once #include #include "types.hpp" constexpr int MAX_DEVICES = 8; constexpr int DEVICE_XML_MAX = 2048; constexpr char kDefaultLayoutXml[] = "\n" " \n" " \n" ""; 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] = {};