9#elif defined(USE_ESP32)
13#elif defined(USE_LIBRETINY)
15#elif defined(USE_HOST)
38 "The platform's OTA backend is missing part of the backend surface (ota_backend.h)");
decltype(make_ota_backend()) OTABackendPtr
@ OTA_RESPONSE_ERROR_UNKNOWN
std::unique_ptr< ArduinoLibreTinyOTABackend > make_ota_backend()
OTABackendPtr::element_type OTABackend
void set_update_md5(const char *md5)
static constexpr bool supports_compression()
OTAResponseTypes begin(size_t image_size, OTAType ota_type=OTA_TYPE_UPDATE_APP)
OTAResponseTypes write(uint8_t *data, size_t len)