ESPHome 2026.4.0-dev
Loading...
Searching...
No Matches
esphome::libretiny::LibreTinyPreferences Class Referencefinal

#include <preferences.h>

Inheritance diagram for esphome::libretiny::LibreTinyPreferences:
esphome::PreferencesMixin< LibreTinyPreferences >

Public Member Functions

void open ()
 
ESPPreferenceObject make_preference (size_t length, uint32_t type, bool in_flash)
 
ESPPreferenceObject make_preference (size_t length, uint32_t type)
 
bool sync ()
 
bool reset ()
 
- Public Member Functions inherited from esphome::PreferencesMixin< LibreTinyPreferences >
ESPPreferenceObject make_preference (uint32_t type, bool in_flash)
 
ESPPreferenceObject make_preference (uint32_t type)
 

Data Fields

struct fdb_kvdb db
 
struct fdb_blob blob
 

Protected Member Functions

bool is_changed_ (fdb_kvdb_t db, const NVSData &to_save, const char *key_str)
 

Detailed Description

Definition at line 11 of file preferences.h.

Member Function Documentation

◆ is_changed_()

bool esphome::libretiny::LibreTinyPreferences::is_changed_ ( fdb_kvdb_t db,
const NVSData & to_save,
const char * key_str )
protected

Definition at line 131 of file preferences.cpp.

◆ make_preference() [1/2]

ESPPreferenceObject esphome::libretiny::LibreTinyPreferences::make_preference ( size_t length,
uint32_t type )

Definition at line 76 of file preferences.cpp.

◆ make_preference() [2/2]

ESPPreferenceObject esphome::libretiny::LibreTinyPreferences::make_preference ( size_t length,
uint32_t type,
bool in_flash )
inline

Definition at line 15 of file preferences.h.

◆ open()

void esphome::libretiny::LibreTinyPreferences::open ( )

Definition at line 66 of file preferences.cpp.

◆ reset()

bool esphome::libretiny::LibreTinyPreferences::reset ( )

Definition at line 157 of file preferences.cpp.

◆ sync()

bool esphome::libretiny::LibreTinyPreferences::sync ( )

Definition at line 85 of file preferences.cpp.

Field Documentation

◆ blob

struct fdb_blob esphome::libretiny::LibreTinyPreferences::blob

Definition at line 23 of file preferences.h.

◆ db

struct fdb_kvdb esphome::libretiny::LibreTinyPreferences::db

Definition at line 22 of file preferences.h.


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