ESPHome  2024.11.1
Public Member Functions
esphome::ota::IDFOTABackend Class Reference

#include <ota_backend_esp_idf.h>

Inheritance diagram for esphome::ota::IDFOTABackend:
esphome::ota::OTABackend

Public Member Functions

OTAResponseTypes begin (size_t image_size) override
 
void set_update_md5 (const char *md5) override
 
OTAResponseTypes write (uint8_t *data, size_t len) override
 
OTAResponseTypes end () override
 
void abort () override
 
bool supports_compression () override
 
- Public Member Functions inherited from esphome::ota::OTABackend
virtual ~OTABackend ()=default
 

Detailed Description

Definition at line 13 of file ota_backend_esp_idf.h.

Member Function Documentation

◆ abort()

void esphome::ota::IDFOTABackend::abort ( )
overridevirtual

Implements esphome::ota::OTABackend.

Definition at line 109 of file ota_backend_esp_idf.cpp.

◆ begin()

OTAResponseTypes esphome::ota::IDFOTABackend::begin ( size_t  image_size)
overridevirtual

Implements esphome::ota::OTABackend.

Definition at line 19 of file ota_backend_esp_idf.cpp.

◆ end()

OTAResponseTypes esphome::ota::IDFOTABackend::end ( )
overridevirtual

Implements esphome::ota::OTABackend.

Definition at line 86 of file ota_backend_esp_idf.cpp.

◆ set_update_md5()

void esphome::ota::IDFOTABackend::set_update_md5 ( const char *  md5)
overridevirtual

Implements esphome::ota::OTABackend.

Definition at line 70 of file ota_backend_esp_idf.cpp.

◆ supports_compression()

bool esphome::ota::IDFOTABackend::supports_compression ( )
inlineoverridevirtual

Implements esphome::ota::OTABackend.

Definition at line 20 of file ota_backend_esp_idf.h.

◆ write()

OTAResponseTypes esphome::ota::IDFOTABackend::write ( uint8_t *  data,
size_t  len 
)
overridevirtual

Implements esphome::ota::OTABackend.

Definition at line 72 of file ota_backend_esp_idf.cpp.


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