Host OTA backend: stages new binary to <exe>.ota.new, validates ELF/Mach-O matches the running arch, renames over <exe>, and arms execv via arch_restart().
More...
#include <ota_backend_host.h>
Host OTA backend: stages new binary to <exe>.ota.new, validates ELF/Mach-O matches the running arch, renames over <exe>, and arms execv via arch_restart().
Definition at line 15 of file ota_backend_host.h.
◆ abort()
| void esphome::ota::HostOTABackend::abort |
( |
| ) |
|
◆ begin()
◆ end()
◆ set_update_md5()
| void esphome::ota::HostOTABackend::set_update_md5 |
( |
const char * | md5 | ) |
|
◆ supports_compression()
| bool esphome::ota::HostOTABackend::supports_compression |
( |
| ) |
|
|
inline |
◆ write()
| OTAResponseTypes esphome::ota::HostOTABackend::write |
( |
uint8_t * | data, |
|
|
size_t | len ) |
◆ bytes_written_
| size_t esphome::ota::HostOTABackend::bytes_written_ {0} |
|
protected |
◆ expected_md5_
| uint8_t esphome::ota::HostOTABackend::expected_md5_[16] {} |
|
protected |
◆ expected_size_
| size_t esphome::ota::HostOTABackend::expected_size_ {0} |
|
protected |
◆ fd_
| int esphome::ota::HostOTABackend::fd_ {-1} |
|
protected |
◆ final_path_
| std::string esphome::ota::HostOTABackend::final_path_ |
|
protected |
◆ md5_
◆ md5_set_
| bool esphome::ota::HostOTABackend::md5_set_ {false} |
|
protected |
◆ staging_path_
| std::string esphome::ota::HostOTABackend::staging_path_ |
|
protected |
The documentation for this class was generated from the following files: