esmp3/include/updater.h

11 lines
271 B
C++

#pragma once
#include "http_client_wrapper.h"
class Updater {
public:
static void run(uint16_t spiffs_version = 0);
static bool do_update(int cmd, String url, String expected_md5);
static bool read_line(String* dst, HTTPClientWrapper* http, String expected_key);
};