13 Nvs(
const char* name_space,
const char* partition =
"nvs");
18 int getInt(
const char* key);
19 void writeInt(
const char* key,
int value);
23 void writeString(
const char* key,
const std::string& value);
28 esp_err_t initFlash();
std::string getString(const char *key)
Returns the string value of the key in the NVS.
Definition: RBCXNvs.cpp:54
void commit()
Commits the changes to the NVS (it nessecary to call this to save the changes)
Definition: RBCXNvs.cpp:68
int getInt(const char *key)
Returns the int value of the key in the NVS.
Definition: RBCXNvs.cpp:38
bool existsString(const char *key)
Returns true if the key for the string exists in the NVS.
Definition: RBCXNvs.cpp:49
~Nvs()
Definition: RBCXNvs.cpp:15
bool existsInt(const char *key)
Returns true if the key for the int exists in the NVS.
Definition: RBCXNvs.cpp:33
void writeString(const char *key, const std::string &value)
Writes the string value to the key in the NVS.
Definition: RBCXNvs.cpp:63
void writeInt(const char *key, int value)
Writes the int value to the key in the NVS.
Definition: RBCXNvs.cpp:44
Definition: RBCXAngle.cpp:3