ESPHome 2026.4.0-dev
Loading...
Searching...
No Matches
preference_backend.h
Go to the documentation of this file.
1#pragma once
2#ifdef USE_ESP32
3
4#include <cstddef>
5#include <cstdint>
6
7namespace esphome::esp32 {
8
10 public:
11 bool save(const uint8_t *data, size_t len);
12 bool load(uint8_t *data, size_t len);
13
16};
17
20
21} // namespace esphome::esp32
22
23namespace esphome {
25} // namespace esphome
26
27#endif // USE_ESP32
bool load(uint8_t *data, size_t len)
bool save(const uint8_t *data, size_t len)
ESP32Preferences * get_preferences()
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7
std::string size_t len
Definition helpers.h:1045
static void uint32_t