1
0
mirror of https://github.com/s00500/ESPUI.git synced 2025-07-03 04:30:19 +00:00

Merge branch 'master' into lambda-with-examples

This commit is contained in:
David Gauchard
2023-10-06 16:45:17 +02:00
11 changed files with 590 additions and 265 deletions

View File

@ -31,6 +31,7 @@ enum ControlType : uint8_t
Separator,
Time,
Fragment,
Password = 99,
UpdateOffset = 100,
};
@ -81,7 +82,7 @@ public:
void SendCallback(int type);
bool HasCallback() { return (nullptr != callback); }
void MarshalControl(ArduinoJson::JsonObject& item, bool refresh);
void MarshalControl(ArduinoJson::JsonObject& item, bool refresh, uint32_t DataOffset);
void MarshalErrorMessage(ArduinoJson::JsonObject& item);
bool ToBeDeleted() { return (ControlSyncState_t::deleted == ControlSyncState); }
void DeleteControl();