26#include "grmcdorman/device/Device.h"
27#include "grmcdorman/Setting.h"
29namespace grmcdorman::device
54 static const char info_name[] PROGMEM =
"system_details";
55 return FPSTR(info_name);
75 DynamicJsonDocument
as_json()
const override;
77 InfoSettingHtml firmware_name;
78 InfoSettingHtml compile_datetime;
79 InfoSettingHtml architecture;
80 InfoSettingHtml device_chip_id;
81 InfoSettingHtml flash_chip;
82 InfoSettingHtml last_reset;
83 InfoSettingHtml flash_size;
84 InfoSettingHtml real_flash_size;
85 InfoSettingHtml sketch_size;
86 InfoSettingHtml vendor_chip_id;
87 InfoSettingHtml core_version;
88 InfoSettingHtml boot_version;
89 InfoSettingHtml sdk_version;
90 InfoSettingHtml cpu_frequency;
The generic device interface.
Definition: Device.h:46
static const __FlashStringHelper * get_firmware_name()
Get the firmware prefix.
Definition: Device.h:195
This class is a readonly system-details panel.
Definition: SystemDetailsDisplay.h:39
void loop() override
Loop.
Definition: SystemDetailsDisplay.h:72
SystemDetailsDisplay()
Construct a new SystemDetailsDisplay Device object.
Definition: SystemDetailsDisplay.cpp:35
const __FlashStringHelper * identifier() const override
The device identifier, "system_details".
Definition: SystemDetailsDisplay.h:52
void setup() override
Setup.
Definition: SystemDetailsDisplay.h:63
DynamicJsonDocument as_json() const override
Get the values, as a JSON document.
Definition: SystemDetailsDisplay.cpp:89