ESPHome  2024.12.2
ota_backend_arduino_esp32.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef USE_ESP32_FRAMEWORK_ARDUINO
3 #include "ota_backend.h"
4 
5 #include "esphome/core/defines.h"
6 #include "esphome/core/helpers.h"
7 
8 namespace esphome {
9 namespace ota {
10 
12  public:
13  OTAResponseTypes begin(size_t image_size) override;
14  void set_update_md5(const char *md5) override;
15  OTAResponseTypes write(uint8_t *data, size_t len) override;
16  OTAResponseTypes end() override;
17  void abort() override;
18  bool supports_compression() override { return false; }
19 };
20 
21 } // namespace ota
22 } // namespace esphome
23 
24 #endif // USE_ESP32_FRAMEWORK_ARDUINO
OTAResponseTypes begin(size_t image_size) override
void set_update_md5(const char *md5) override
OTAResponseTypes write(uint8_t *data, size_t len) override
std::string size_t len
Definition: helpers.h:293
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7