11 Nvs(
const char* name_space,
const char* partition =
"nvs");
16 std::int32_t
getInt(
const char* key);
17 void writeInt(
const char* key, std::int32_t value);
21 void writeString(
const char* key,
const std::string& value);
26 esp_err_t initFlash();
void writeInt(const char *key, std::int32_t value)
Definition: Nvs.cpp:42
void writeString(const char *key, const std::string &value)
Definition: Nvs.cpp:61
std::int32_t getInt(const char *key)
Definition: Nvs.cpp:36
bool existsString(const char *key)
Definition: Nvs.cpp:47
bool existsInt(const char *key)
Definition: Nvs.cpp:31
std::string getString(const char *key)
Definition: Nvs.cpp:52
void commit()
Definition: Nvs.cpp:66
~Nvs()
Definition: Nvs.cpp:13