ESPHome
2025.5.2
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
d
e
f
i
j
l
m
n
o
p
q
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
o
p
s
t
v
w
Enumerations
b
c
e
f
i
m
n
p
r
s
t
v
w
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
l
m
o
p
s
t
u
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
Loading...
Searching...
No Matches
esphome
components
ota
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
11
class
ArduinoESP32OTABackend
:
public
OTABackend
{
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
};
11
class
ArduinoESP32OTABackend
:
public
OTABackend
{
…
};
20
21
}
// namespace ota
22
}
// namespace esphome
23
24
#endif
// USE_ESP32_FRAMEWORK_ARDUINO
esphome::ota::ArduinoESP32OTABackend
Definition
ota_backend_arduino_esp32.h:11
esphome::ota::ArduinoESP32OTABackend::abort
void abort() override
Definition
ota_backend_arduino_esp32.cpp:57
esphome::ota::ArduinoESP32OTABackend::set_update_md5
void set_update_md5(const char *md5) override
Definition
ota_backend_arduino_esp32.cpp:32
esphome::ota::ArduinoESP32OTABackend::supports_compression
bool supports_compression() override
Definition
ota_backend_arduino_esp32.h:18
esphome::ota::ArduinoESP32OTABackend::write
OTAResponseTypes write(uint8_t *data, size_t len) override
Definition
ota_backend_arduino_esp32.cpp:34
esphome::ota::ArduinoESP32OTABackend::end
OTAResponseTypes end() override
Definition
ota_backend_arduino_esp32.cpp:46
esphome::ota::ArduinoESP32OTABackend::begin
OTAResponseTypes begin(size_t image_size) override
Definition
ota_backend_arduino_esp32.cpp:17
esphome::ota::OTABackend
Definition
ota_backend.h:51
defines.h
helpers.h
esphome::ota::OTAResponseTypes
OTAResponseTypes
Definition
ota_backend.h:14
esphome
Providing packet encoding functions for exchanging data with a remote host.
Definition
a01nyub.cpp:7
esphome::len
std::string size_t len
Definition
helpers.h:302
ota_backend.h
Generated by
1.12.0