Added datafile and handling of MQTT publish message.

This commit is contained in:
Martin Preuss
2023-08-12 02:06:54 +02:00
parent edcac1f2b9
commit f5878f43ff
9 changed files with 783 additions and 13 deletions

View File

@@ -11,6 +11,7 @@
#include "aqhome/data/storage.h"
#include "aqhome/data/datafile.h"
#define AQH_STORAGE_XML_ELEMENTNAME_LASTIDS "lastIds"
@@ -41,6 +42,9 @@ struct AQH_STORAGE {
uint64_t lastValueId;
char *stateFile;
char *dataFileFolder;
AQH_DATAFILE_LIST *dataFileList;
uint32_t runtimeFlags;
};