Firmware  0.0.0
Loading...
Searching...
No Matches
mem::nvs::Accessories Class Reference

Accessories stored in NVS. More...

#include <accessories.hpp>

Inheritance diagram for mem::nvs::Accessories:
Collaboration diagram for mem::nvs::Accessories:

Public Member Functions

 Accessories ()
 
- Public Member Functions inherited from mem::nvs::Base
auto begin () const
 
auto cbegin () const
 
auto end () const
 
auto cend () const
 
esp_err_t erase (std::string const &key)
 Erase key-value pair with given key name.
 
esp_err_t eraseAll ()
 Erase all key-value pairs in a namespace.
 

Additional Inherited Members

- Protected Member Functions inherited from mem::nvs::Base
 Base (char const *namespace_name, nvs_open_mode_t open_mode)
 Ctor.
 
 ~Base ()
 Dtor.
 
std::string getBlob (std::string const &key) const
 Get blob value for given key.
 
esp_err_t setBlob (std::string const &key, std::string_view str)
 Set blob value for given key.
 
uint8_t getU8 (std::string const &key) const
 Get uint8_t value for given key.
 
esp_err_t setU8 (std::string const &key, uint8_t value)
 Set uint8_t value for given key.
 
uint8_t getU16 (std::string const &key) const
 Get uint16_t value for given key.
 
esp_err_t setU16 (std::string const &key, uint16_t value)
 Set uint16_t value for given key.
 

Detailed Description

Todo
not yet implemented

Constructor & Destructor Documentation

◆ Accessories()

mem::nvs::Accessories::Accessories ( )
inlineexplicit

The documentation for this class was generated from the following file: