#include <RBCXNvs.h>
|
| Nvs (const char *name_space, const char *partition="nvs") |
|
| ~Nvs () |
|
| Nvs (const Nvs &)=delete |
|
bool | existsInt (const char *key) |
| Returns true if the key for the int exists in the NVS. More...
|
|
int | getInt (const char *key) |
| Returns the int value of the key in the NVS. More...
|
|
void | writeInt (const char *key, int value) |
| Writes the int value to the key in the NVS. More...
|
|
bool | existsString (const char *key) |
| Returns true if the key for the string exists in the NVS. More...
|
|
std::string | getString (const char *key) |
| Returns the string value of the key in the NVS. More...
|
|
void | writeString (const char *key, const std::string &value) |
| Writes the string value to the key in the NVS. More...
|
|
void | commit () |
| Commits the changes to the NVS (it nessecary to call this to save the changes) More...
|
|
◆ Nvs() [1/2]
rb::Nvs::Nvs |
( |
const char * |
name_space, |
|
|
const char * |
partition = "nvs" |
|
) |
| |
◆ ~Nvs()
◆ Nvs() [2/2]
rb::Nvs::Nvs |
( |
const Nvs & |
| ) |
|
|
delete |
◆ commit()
Commits the changes to the NVS (it nessecary to call this to save the changes)
◆ existsInt()
bool rb::Nvs::existsInt |
( |
const char * |
key | ) |
|
Returns true if the key for the int exists in the NVS.
◆ existsString()
bool rb::Nvs::existsString |
( |
const char * |
key | ) |
|
Returns true if the key for the string exists in the NVS.
◆ getInt()
int rb::Nvs::getInt |
( |
const char * |
key | ) |
|
Returns the int value of the key in the NVS.
◆ getString()
std::string rb::Nvs::getString |
( |
const char * |
key | ) |
|
Returns the string value of the key in the NVS.
◆ writeInt()
void rb::Nvs::writeInt |
( |
const char * |
key, |
|
|
int |
value |
|
) |
| |
Writes the int value to the key in the NVS.
◆ writeString()
void rb::Nvs::writeString |
( |
const char * |
key, |
|
|
const std::string & |
value |
|
) |
| |
Writes the string value to the key in the NVS.
The documentation for this class was generated from the following files: