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

#include <preference_backend.h>

Public Member Functions

bool save (const uint8_t *data, size_t len)
 
bool load (uint8_t *data, size_t len)
 

Data Fields

uint32_t key
 
struct fdb_kvdb * db
 
struct fdb_blob * blob
 

Detailed Description

Definition at line 13 of file preference_backend.h.

Member Function Documentation

◆ load()

bool esphome::libretiny::LibreTinyPreferenceBackend::load ( uint8_t * data,
size_t len )

Definition at line 40 of file preferences.cpp.

◆ save()

bool esphome::libretiny::LibreTinyPreferenceBackend::save ( const uint8_t * data,
size_t len )

Definition at line 24 of file preferences.cpp.

Field Documentation

◆ blob

struct fdb_blob* esphome::libretiny::LibreTinyPreferenceBackend::blob

Definition at line 20 of file preference_backend.h.

◆ db

struct fdb_kvdb* esphome::libretiny::LibreTinyPreferenceBackend::db

Definition at line 19 of file preference_backend.h.

◆ key

uint32_t esphome::libretiny::LibreTinyPreferenceBackend::key

Definition at line 18 of file preference_backend.h.


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