Commit Graph
8 Commits
Author SHA1 Message Date
Gijs Noorlander 85348971d6 [Uncrustify] Cleanup code using Uncrustify
Since there are not that much PRs open and in progress, this is maybe the least intrusive moment to cleanup some code using the given uncrustify.cfg 
If there is a PR merge issue, checkout the PR and perform an uncrustify first before trying to merge.
2019-07-15 15:11:30 +02:00
TD-er 264fc7b31f [Cache Controller] Add option to delete all cache files
And call the Garbage Collector to make sure all freed blocks are erased for writing.
2019-04-18 14:14:57 +02:00
TD-er 6a818479cc [Cache Controller] Delete oldest files when no room left
The SPIFFS may become fragmented, so it is possible a file cannot be appended to even though there is room on the file system.
So there has to be a proper check to see if writing fails and also delete oldest file(s) when needed + call to the garbage collector.
See also https://github.com/esp8266/Arduino/issues/5987
2019-04-15 13:35:46 +02:00
TD-er 84513c55f3 [C014 cache] Read JSON to fetch cache files. 2019-04-05 15:35:41 +02:00
TD-er b47ce1fc3f [C014 cache] Dump to CSV
Calling `/dumpcache' will generate a CSV file of all logged data.
This may block the ESP for a while, since it outputs about 250 samples per second.
So 480'000 bytes of flash storage takes roughly 70 seconds to dump to a 1.6 MByte CSV. (20'000 samples)
2019-04-05 15:35:04 +02:00
TD-er 0ac6824983 [C014 cache] Write part is ready
Still have to make the read part and maybe have the controller cache global.
2019-04-05 15:34:58 +02:00
TD-er d535ccccf9 [C014 cache] Use RTC cache to store samples then move to file 2019-04-05 15:34:48 +02:00
TD-er 08400aa07f [C014] Cached HTTP controller 2019-04-05 15:33:53 +02:00