idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
nvs.hpp File Reference

Non-Volatile Storage class. More...

#include <idfxx/error>
#include <expected>
#include <functional>
#include <memory>
#include <optional>
#include <string_view>
#include <system_error>
#include <vector>

Go to the source code of this file.

Classes

class  idfxx::nvs
 Non-Volatile Storage handle. More...
 
class  idfxx::nvs::error_category
 Error category for NVS errors. More...
 
class  idfxx::nvs::flash
 
struct  idfxx::nvs::flash::secure_config
 Key for encryption and decryption. More...
 
struct  idfxx::nvs::flash::insecure_t
 Tag type to indicate insecure (non-encrypted) initialization. More...
 

Namespaces

namespace  idfxx
 

Typedefs

typedef uint32_t nvs_handle_t
 
typedef int esp_err_t
 

Functions

const nvs::error_categoryidfxx::nvs_category () noexcept
 Returns a reference to the NVS error category singleton.
 
std::error_code idfxx::make_error_code (nvs::errc e) noexcept
 Creates an error code from an idfxx::nvs::errc value.
 
std::unexpected< std::error_code > idfxx::nvs_error (esp_err_t e) noexcept
 Creates an unexpected error from an ESP-IDF error code, mapping to NVS error codes where possible.
 

Detailed Description

Non-Volatile Storage class.

Definition in file nvs.hpp.