ESPHome 2026.8.0b4
Loading...
Searching...
No Matches
esphome::ota::StubOTABackend Struct Reference

#include <ota_backend_factory.h>

Public Member Functions

OTAResponseTypes begin (size_t image_size, OTAType ota_type=OTA_TYPE_UPDATE_APP)
 
void set_update_md5 (const char *md5)
 
OTAResponseTypes write (uint8_t *data, size_t len)
 
OTAResponseTypes end ()
 
void abort ()
 
bool supports_compression ()
 

Detailed Description

Definition at line 20 of file ota_backend_factory.h.

Member Function Documentation

◆ abort()

void esphome::ota::StubOTABackend::abort ( )
inline

Definition at line 27 of file ota_backend_factory.h.

◆ begin()

OTAResponseTypes esphome::ota::StubOTABackend::begin ( size_t image_size,
OTAType ota_type = OTA_TYPE_UPDATE_APP )
inline

Definition at line 21 of file ota_backend_factory.h.

◆ end()

OTAResponseTypes esphome::ota::StubOTABackend::end ( )
inline

Definition at line 26 of file ota_backend_factory.h.

◆ set_update_md5()

void esphome::ota::StubOTABackend::set_update_md5 ( const char * md5)
inline

Definition at line 24 of file ota_backend_factory.h.

◆ supports_compression()

bool esphome::ota::StubOTABackend::supports_compression ( )
inline

Definition at line 28 of file ota_backend_factory.h.

◆ write()

OTAResponseTypes esphome::ota::StubOTABackend::write ( uint8_t * data,
size_t len )
inline

Definition at line 25 of file ota_backend_factory.h.


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