#include <preferences.h>
Definition at line 22 of file preferences.h.
◆ load_from_key()
| bool esphome::Preferences::load_from_key |
( |
uint32_t | , |
|
|
uint8_t * | , |
|
|
size_t | ) |
|
inline |
◆ make_preference() [1/2]
◆ make_preference() [2/2]
◆ reset()
| bool esphome::Preferences::reset |
( |
| ) |
|
|
inline |
Forget all unsaved changes and re-initialize the permanent preferences storage.
Usually followed by a restart which moves the system to "factory" conditions
- Returns
- true if operation is successful.
Definition at line 41 of file preferences.h.
◆ sync()
| bool esphome::Preferences::sync |
( |
| ) |
|
|
inline |
Commit pending writes to flash.
- Returns
- true if write is successful.
Definition at line 33 of file preferences.h.
The documentation for this struct was generated from the following file: