22 static constexpr size_t MAX_FEED = 511;
24 bool feed_(
const uint8_t *data,
size_t len);
28 uint8_t expected_md5_[16];
33 bool has_pending_{
false};
35 bool md5_parsed_{
false};
OTAResponseTypes begin(size_t image_size, OTAType ota_type=OTA_TYPE_UPDATE_APP)
void set_update_md5(const char *md5)
static constexpr bool supports_compression()
OTAResponseTypes write(uint8_t *data, size_t len)
Serializes flash updates.
std::unique_ptr< ArduinoLibreTinyOTABackend > make_ota_backend()