ESPHome  2024.4.0
Public Member Functions
esphome::ota::OTABackend Class Referenceabstract

#include <ota_backend.h>

Inheritance diagram for esphome::ota::OTABackend:
esphome::ota::ArduinoESP32OTABackend esphome::ota::ArduinoESP8266OTABackend esphome::ota::ArduinoLibreTinyOTABackend esphome::ota::ArduinoRP2040OTABackend esphome::ota::IDFOTABackend

Public Member Functions

virtual ~OTABackend ()=default
virtual OTAResponseTypes begin (size_t image_size)=0
virtual void set_update_md5 (const char *md5)=0
virtual OTAResponseTypes write (uint8_t *data, size_t len)=0
virtual OTAResponseTypes end ()=0
virtual void abort ()=0
virtual bool supports_compression ()=0

Detailed Description

Definition at line 7 of file ota_backend.h.

Constructor & Destructor Documentation

◆ ~OTABackend()

virtual esphome::ota::OTABackend::~OTABackend ( )

Member Function Documentation

◆ abort()

virtual void esphome::ota::OTABackend::abort ( )
pure virtual

◆ begin()

virtual OTAResponseTypes esphome::ota::OTABackend::begin ( size_t  image_size)
pure virtual

◆ end()

virtual OTAResponseTypes esphome::ota::OTABackend::end ( )
pure virtual

◆ set_update_md5()

virtual void esphome::ota::OTABackend::set_update_md5 ( const char *  md5)
pure virtual

◆ supports_compression()

virtual bool esphome::ota::OTABackend::supports_compression ( )
pure virtual

◆ write()

virtual OTAResponseTypes esphome::ota::OTABackend::write ( uint8_t *  data,
size_t  len 
pure virtual

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