oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Namespaces | Functions
nvs.hpp File Reference

Non-volatile key-value storage functions. More...

#include <ove/nvs.h>
#include <ove/types.hpp>
Include dependency graph for nvs.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ove
 Top-level namespace for all oveRTOS C++ abstractions.
 
namespace  ove::nvs
 Thin C++ wrappers around the oveRTOS non-volatile storage API.
 

Functions

int ove::nvs::init ()
 Initialises the NVS subsystem.
 
void ove::nvs::deinit ()
 Deinitialises the NVS subsystem and frees associated resources.
 
int ove::nvs::read (const char *key, void *buf, size_t len, size_t *out)
 Reads the value associated with a key from NVS.
 
int ove::nvs::write (const char *key, const void *data, size_t len)
 Writes a value associated with a key to NVS.
 
int ove::nvs::erase (const char *key)
 Erases the value associated with a key from NVS.
 

Detailed Description

Non-volatile key-value storage functions.