using SPIFFS for cert, eeprom for the rest

This commit is contained in:
Florian Hoss 2022-04-20 21:17:34 +02:00
parent c86be9feb4
commit a08ea4803b
8 changed files with 175 additions and 263 deletions

View file

@ -2,6 +2,7 @@
#define ESP32_STORAGE_HPP
#include "Preferences.h"
#include "SPIFFS.h"
#include "FirewallTypes.h"
#include "mbedtls/md.h"
#include "SSLCert.hpp"
@ -12,6 +13,7 @@ namespace firewall
{
private:
Preferences memory;
void mount_spiffs();
protected:
uint8_t retrieve_settings_value(const char *);