28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
#include "SPIFFSLoggerBase.h"
Go to the source code of this file.
72 |74 | Classes | |
struct | SPIFFSLogData< T > |
Represents a data element as stored in SPIFFS, along with the creation timestamp. More... | |
class | SPIFFSLogger< T > |
Minimal class template for binary data logging in ESP8266 SPIFFS. More... | |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
#include "SPIFFSLoggerBase.h"
72 | Variables | |
const char _logFilenameFormat [] | PROGMEM = "%s/%d%02d%02d" |
const char _logFilenameFormat [] PROGMEM = "%s/%d%02d%02d" | 85 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
#include <Arduino.h>
#include <FS.h>
#include <time.h>
Go to the source code of this file.
74 |76 | Classes | |
class | SPIFFSLoggerBase |
Base class for the SPIFFSLogger template, implementing common methods. More... | |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
CSPIFFSLogData | Represents a data element as stored in SPIFFS, along with the creation timestamp |
CSPIFFSLogger | Minimal class template for binary data logging in ESP8266 SPIFFS |
CSPIFFSLoggerBase | Base class for the SPIFFSLogger template, implementing common methods |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
This is the complete list of members for SPIFFSLogger< T >, including all inherited members.
69 |_curPath | SPIFFSLoggerBase | protected |
_daysToKeep | SPIFFSLoggerBase | protected |
_directory | SPIFFSLoggerBase | protected |
_filenameToDate(const char *filename) | SPIFFSLoggerBase | protectedstatic |
_lastProcess | SPIFFSLoggerBase | protected |
_pathFromDate(char *output, time_t date) | SPIFFSLoggerBase | protected |
_processInterval | SPIFFSLoggerBase | protected |
_processNow | SPIFFSLoggerBase | protected |
_runRotation() | SPIFFSLoggerBase | protected |
_timegm(struct tm *tm) | SPIFFSLoggerBase | protectedstatic |
_today | SPIFFSLoggerBase | protected |
_updateCurPath() | SPIFFSLoggerBase | protected |
init() | SPIFFSLoggerBase | |
process() | SPIFFSLoggerBase | |
readRows(SPIFFSLogData< T > *output, time_t date, size_t startIdx, size_t maxCount) | SPIFFSLogger< T > | |
readRowsBetween(SPIFFSLogData< T > *output, time_t fromTime, time_t toTime, size_t startIdx, size_t maxCount) | SPIFFSLogger< T > | |
rowCount(time_t date) | SPIFFSLogger< T > | |
rowCount(File &logFile) | SPIFFSLogger< T > | |
SPIFFSLogger(const char *directory, uint16_t daysToKeep=7, uint16_t processInterval=1000) | SPIFFSLogger< T > | |
SPIFFSLoggerBase(const char *directory, uint16_t daysToKeep, uint16_t processInterval) | SPIFFSLoggerBase | protected |
write(const T &value) | SPIFFSLogger< T > |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
This is the complete list of members for SPIFFSLoggerBase, including all inherited members.
69 |_curPath | SPIFFSLoggerBase | protected |
_daysToKeep | SPIFFSLoggerBase | protected |
_directory | SPIFFSLoggerBase | protected |
_filenameToDate(const char *filename) | SPIFFSLoggerBase | protectedstatic |
_lastProcess | SPIFFSLoggerBase | protected |
_pathFromDate(char *output, time_t date) | SPIFFSLoggerBase | protected |
_processInterval | SPIFFSLoggerBase | protected |
_processNow | SPIFFSLoggerBase | protected |
_runRotation() | SPIFFSLoggerBase | protected |
_timegm(struct tm *tm) | SPIFFSLoggerBase | protectedstatic |
_today | SPIFFSLoggerBase | protected |
_updateCurPath() | SPIFFSLoggerBase | protected |
init() | SPIFFSLoggerBase | |
process() | SPIFFSLoggerBase | |
SPIFFSLoggerBase(const char *directory, uint16_t daysToKeep, uint16_t processInterval) | SPIFFSLoggerBase | protected |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
69 | Files | |
file | SPIFFSLogger.h [code] |
file | SPIFFSLoggerBase.cpp |
file | SPIFFSLoggerBase.h [code] |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
▼ src | |
SPIFFSLogger.h | |
SPIFFSLoggerBase.cpp | |
SPIFFSLoggerBase.h |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
CSPIFFSLogData< T > | Represents a data element as stored in SPIFFS, along with the creation timestamp |
▼CSPIFFSLoggerBase | Base class for the SPIFFSLogger template, implementing common methods |
CSPIFFSLogger< T > | Minimal class template for binary data logging in ESP8266 SPIFFS |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
This is the complete list of members for SPIFFSLogData< T >, including all inherited members.
69 |data | SPIFFSLogData< T > | |
timestampUTC | SPIFFSLogData< T > |
28 | SPIFFSLogger
29 | v0.1.2
30 |
31 | A minimal library for binary data logging in ESP8266
32 | |
33 |
Represents a data element as stored in SPIFFS, along with the creation timestamp. 72 | More...
73 | 74 |#include <SPIFFSLogger.h>
77 | Public Attributes | |
time_t | timestampUTC |
creation time in UTC More... | |
T | data |
data of type T More... | |
Represents a data element as stored in SPIFFS, along with the creation timestamp.
90 |T | type to store, e.g. a struct. |
T SPIFFSLogData< T >::data | 107 |
data of type T
112 | 113 |time_t SPIFFSLogData< T >::timestampUTC | 125 |
creation time in UTC
130 | 131 |